摘要: 注意有两个变量 now是判断x是不是根,并不是父节点 #include<bits/stdc++.h> using namespace std; const int maxn = 100005; struct edge{ int to, next; }e[maxn << 1]; int head[ma 阅读全文
posted @ 2019-11-13 21:53 ATKevin 阅读(116) 评论(0) 推荐(0)