![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
线段树分治
ljq真的不能再吃了
珍惜每一天
展开
-
【P2147 [SDOI2008]洞穴勘测】离线+线段树分治
P2147离线真是太棒了 %%%离线爆艹在线数据结构 -> LCT过几天补个LCT题解吧/* if you can't see the repay Why not just work step by step rubbish is relaxed to ljq*/#include <cstdio>#include <cstrin...原创 2019-08-11 14:07:59 · 790 阅读 · 0 评论 -
【2019牛客暑期训练营第八场 E Explorer】线段树分治+可撤销并查集
牛客E这个树要左闭右开因为你不左闭右开 会跨过中间的区间 无法算贡献学到了/* if you can't see the repay Why not just work step by step rubbish is relaxed to ljq*/#include <cstdio>#include <cstring>#inc...原创 2019-08-11 15:10:44 · 139 阅读 · 0 评论