摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int num; 8 int head[20010]; 9 int dp[20010];10 int val[20010];11 int n;12 13 struc... 阅读全文
posted @ 2015-08-30 15:22 相儒以沫 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int dp[1510][2]; 8 int head[1510]; 9 bool in[1510];10 int num;11 12 struct edge13 ... 阅读全文
posted @ 2015-08-30 13:11 相儒以沫 阅读(107) 评论(0) 推荐(0) 编辑