摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=2094//声明:该题不是我写的。 1 #include 2 #include 3 int nu,m,sum; 4 int map[1001][1001]; 5 int degree[1001]; 6... 阅读全文
posted @ 2013-02-26 20:21 水门 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 int count,n,degree[505],map[505][505],vis[505],res[505]; 4 5 void topo(int x) 6 { 7 res[count] = x; 8 count++; 9 ... 阅读全文
posted @ 2013-02-26 10:52 水门 阅读(175) 评论(0) 推荐(0) 编辑