随笔分类 -  数据结构 树剖

摘要:树上差分,二分答案 阅读全文
posted @ 2018-10-13 08:45 GhostCai 阅读(92) 评论(0) 推荐(0) 编辑
摘要:关联点Plus 阅读全文
posted @ 2018-10-12 08:34 GhostCai 阅读(109) 评论(0) 推荐(0) 编辑
摘要:树链剖分,树上差分 阅读全文
posted @ 2018-07-28 09:08 GhostCai 阅读(113) 评论(0) 推荐(0) 编辑
摘要:安装操作就是链上统计+更改,卸载操作就是子树统计+更改,没有比树剖更合适的了。 数组开小会莫名WA..qwq#include#includeusing namespace std;const int MAXN=1000005;int n,m;#define ls (c... 阅读全文
posted @ 2018-06-24 11:57 GhostCai 阅读(114) 评论(0) 推荐(0) 编辑
摘要:讲真 sublime挺好用的。 atom更吼 阅读全文
posted @ 2018-05-03 02:09 GhostCai 阅读(115) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示