摘要: 这道题说白了就是一道点双联通分量的板子题权当练习#include#pragma GCC optimize(2)#define RG registerusing namespace std;int nxt[200005],to[200005],head[100005],... 阅读全文