摘要: #include using namespace std; struct Vertex{ int start, end; int weight; }; Vertex arr[200010]; int par[200010]; int n, m; long long cost = 0; int find(int n){ while(par[n] != n){ ... 阅读全文
posted @ 2017-04-28 23:48 Vincent_Bryan 阅读(305) 评论(0) 推荐(0)