摘要: http://acm.hdu.edu.cn/showproblem.php?pid=5154思路:有向图判断有没有环,可以用floyd。。 1 #include 2 #include 3 #include 4 using namespace std; 5 const int inf=1<<20... 阅读全文
posted @ 2015-01-03 21:43 null1019 阅读(190) 评论(0) 推荐(0) 编辑