摘要:
生成树与prufer序列相互转换的模板: #include<bits/stdc++.h> using namespace std; const int N=500010; struct node{ int nxt,to; }e[N]; int head[N],cnt,fa[N]; int in[N] 阅读全文
posted @ 2020-02-03 18:59
passione
阅读(103)
评论(0)
推荐(0)
摘要:
模板题:CF896C #include<bits/stdc++.h> #define SIT set<ODT>::iterator #define VIT vector<pair<long long,long long>>::iterator using namespace std; const i 阅读全文
posted @ 2020-02-03 16:42
passione
阅读(188)
评论(0)
推荐(1)

浙公网安备 33010602011771号