文章分类 - 并查集
摘要:The Suspects https://vjudge.net/contest/477987#problem/A #include<iostream> using namespace std; int p[30010],sum[30010]; void init(int n) { for(int i
阅读全文
摘要:Wireless Network https://vjudge.net/contest/477987#problem/B #include<iostream> #include<vector> #include<utility> #include<cmath> using namespace std
阅读全文
摘要:Find them, Catch them https://vjudge.net/contest/477987#problem/C #include<iostream> #include<cstdio> using namespace std; int p[100005],sum[100005];
阅读全文

浙公网安备 33010602011771号