摘要: #include #include #include #include #include using namespace std; const int maxn=200010; struct node{ int ls,rs,fa,is_root; }tr[maxn]; int n,m,siz[maxn],k[maxn]; void update(int x){ siz[x]=1;... 阅读全文
posted @ 2018-01-24 12:00 湮灭之瞳 阅读(110) 评论(0) 推荐(0) 编辑