摘要:
Codeforces Round 974 (Div. 3) A - Robin Helps 按题目要求一步步计算就行 #include<bits/stdc++.h> using namespace std; int n, k; void solve(){ cin >> n >> k; int sum 阅读全文
摘要:
P3388 【模板】割点(割顶) 1、注意在遍历时要储存根节点编号,判断时需要特判根节点 #include<bits/stdc++.h> using namespace std; const int N = 1e5+10; int n,m,r; int dn,dfn[N],low[N],cnt,bu 阅读全文