摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2473并查集设置虚拟父节点。 1 #include 2 #include 3 #include 4 #define maxn 1100000 5 using namespace std; 6 7 int f... 阅读全文
posted @ 2014-05-14 21:52 null1019 阅读(114) 评论(0) 推荐(0) 编辑