首页 > 北极通讯网络
头像 黄学骏
发表于 2022-08-13 10:08:23
#include <bits/stdc++.h> using namespace std; typedef double ld; typedef pair <int,int> PII; const int N = 201000; int n,k,idx; 展开全文
头像 minux_sufe
发表于 2020-06-24 16:45:32
问题需要转化一下思路,转化为找一个权值, 当去掉权值的边后, 剩余的连通块的数量要. #include <bits/stdc++.h> using namespace std; const int N=505; // NC上本题数据范围缺失, 从LOJ上查询到1<=n<=5 展开全文

等你来战

查看全部