摘要:
#include<bits/stdc++.h> #define int int_fast64_t #define mod int(1e9+7) using namespace std; struct node{ int x,y; }a[int(1e5+5)],sum[int(1e5+5)],cnt[ 阅读全文
摘要:
#include<bits/stdc++.h> #define int int_fast64_t using namespace std; int p[int(1e6+5)],sz[int(1e6+5)]; vector<int> e[int(1e6+5)]; int ans; void dfs(i 阅读全文