摘要: 树剖LCA+树上差分。 树上差分的基本操作。 cpp include include include using namespace std; const int N=100005; int head[N],ecnt,dfn[N],top[N],son[N],fa[N],tim,dep[N],siz 阅读全文
posted @ 2018-07-28 09:01 SWHsz 阅读(146) 评论(0) 推荐(0) 编辑