摘要:
一看就知道是模板题= = ,不说什么了= = PS:回去搞期末了,暑假再来刷题了 CODE: 1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 #include<algorithm> 5 #include<queue> 6 # 阅读全文
摘要:
第一次打树链剖分,也挺容易的嘛~~~,两次dfs后建线段树维护就行了~~~CDOE:1#include#include#include#includeusing namespace std;#define maxn 30010struct edges{int to,next;}edge[maxn*... 阅读全文