重链剖分模板。习惯用线段树(也可以双 BIT)。
其中:
dfn
接下来建议用树链剖分解决一些简单题。
code
🏠 返回仓库
Deleting the wiki page "P3384" cannot be undone. Continue?