2014年4月8日

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=3631只能走标记过的点,方法是标记哪个点就对哪个点做floyd#include #include #include using namespace std ;const int INF=0xfffffff ;int... 阅读全文
posted @ 2014-04-08 15:47 LegendaryAC 阅读(206) 评论(0) 推荐(0)
 
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1198裸并查集,主要工作在根据题目给出关系构图#include #include #include using namespace std ;int idx[2505] ;int m,n ;char M[55][5... 阅读全文
posted @ 2014-04-08 15:44 LegendaryAC 阅读(126) 评论(0) 推荐(0)