洛谷P3384 - 树链剖分(树链剖分模板题)

题目链接 https://www.luogu.org/problemnew/show/P3384 【描述】 树链剖分模板题,记一下板子 #include<bits/stdc++.h> #define node tree[id] #define lson tree[id<<1] #define rson tree[id<<1|1] using namespace std; const int ma
相关文章
相关标签/搜索