摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1535这道题两遍spfa,第一遍sfpa之后,重新建图,所有的边逆向建边,再一次spfa就可以了。 1 #include 2 #include 3 #include 4 #include 5 #includ... 阅读全文
posted @ 2014-04-25 21:23 null1019 阅读(144) 评论(0) 推荐(0) 编辑