摘要: 带边权的并查集 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N = 1e5 + 10; int n, m; int p[N], d[N]; unordered_map<int, 阅读全文
posted @ 2022-07-18 19:06 wKingYu 阅读(47) 评论(0) 推荐(0)