摘要:
#include <bits/stdc++.h> #define N 100005 #define inf 1000000000 using namespace std; struct Edge { int v, next; int u; } edge[N]; int tot, head[N]; i 阅读全文
摘要:
防止以后复习时忘掉 #include<bits/stdc++.h> using namespace std; struct Tree { int ch[2], fa, val, size; } tree[40001]; int n, X, root; int tot, lef_root, rig_r 阅读全文