摘要: 线段树模板 1 #include<cstdio> 2 #include<cstring> 3 #include<iostream> 4 #include<algorithm> 5 #include<cmath> 6 #include<queue> 7 #define pn putchar('\n') 阅读全文
posted @ 2019-05-06 17:52 wuliking 阅读(141) 评论(0) 推荐(0)
摘要: 这两天刚学树状数组的一点点部分,因为还在准备省赛,先贴代码好了 树状数组 1 :单点修改,区间查询 1 #include<cstdio> 2 #include<cstring> 3 #include<iostream> 4 #include<algorithm> 5 #include<cmath> 阅读全文
posted @ 2019-05-06 14:42 wuliking 阅读(175) 评论(0) 推荐(0)