文章分类 -  并查集

摘要: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 阅读全文
posted @ 2022-02-11 14:58 是橙橙吖 阅读(24) 评论(0) 推荐(0)
摘要:Wireless Network https://vjudge.net/contest/477987#problem/B #include<iostream> #include<vector> #include<utility> #include<cmath> using namespace std 阅读全文
posted @ 2022-02-11 14:56 是橙橙吖 阅读(156) 评论(0) 推荐(0)
摘要:Find them, Catch them https://vjudge.net/contest/477987#problem/C #include<iostream> #include<cstdio> using namespace std; int p[100005],sum[100005]; 阅读全文
posted @ 2022-02-11 14:50 是橙橙吖 阅读(38) 评论(0) 推荐(0)