摘要:
mod为模数,maxn为最大值 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int mod = 1e9+7; const int maxn = 2e6+5; ll fac[maxn],inv[max 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; const int maxm=4e5+10; const int maxn=2e5+10; struct node{ int u,v,w; bool operator < (const node & o) co 阅读全文