摘要: 暴力。每次合并两个点之后,把新产生的连通关系都记录下来。 #include<cstdio> #include<algorithm> #include<vector> #include<cstring> using namespace std; int T, n, m, p, u, v, G; int 阅读全文
posted @ 2016-02-03 21:43 Fighting_Heart 阅读(244) 评论(0) 推荐(0)