摘要:
#include<iostream> #include<stdio.h> using namespace std; typedef long long ll; const int N=1e5+10; int dp[N]; int x[85],r[85]; int main() { int n,m; 阅读全文
posted @ 2019-11-25 20:48
晴屿
阅读(149)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std ; const int N=200200; int p[N]; int cnt; int find(int x) { if(p[x]!=x) p[x]=find(p[x]); return p[x]; } int main 阅读全文
posted @ 2019-11-25 20:46
晴屿
阅读(145)
评论(0)
推荐(0)