摘要:
A: 点击查看代码 #include<bits/stdc++.h> using namespace std; int n,m; int a[100005],b[100005][21],l[100005]; int x,y; void pre(){ for(int i=1;i<=n;i++){ b[i 阅读全文
摘要:
A: 点击查看代码 #include<bits/stdc++.h> using namespace std; int n,m; int fa[100086]; int find(int x){ return fa[x]==x ? x : fa[x]=find(fa[x]); } void mix(i 阅读全文