摘要:
``` include define N 300005 using namespace std; int n,m,val[N]; struct Link_Cut_Tree{ int top,c[N][2],fa[N],xr[N],q[N],rev[N]; inline void pushup(int 阅读全文
摘要:
``` include include define N 200005 using namespace std; inline int read() { int x=0,f=1;char ch=getchar(); while(ch'9'){if(ch==' ')f= 1;ch=getchar(); 阅读全文
摘要:
``` include include include define N 200005 using namespace std; inline int read() { int x=0,f=1;char ch=getchar(); while(ch'9'){if(ch==' ')f= 1;ch=ge 阅读全文