摘要: 本来考试准备愉快的打树状数组,结果不记得了,哈哈哈 树状数组区间更新、查询模板 #include<iostream> #include<cstring> #include<cstdio> #include<algorithm> #define lowbit(x) ((x)&-(x)) using n 阅读全文
posted @ 2016-11-16 15:07 Native_carrot 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 今天考试的时候很开心的打了一个线段树,考完一看,SMG #include<iostream> #include<cstring> #include<cstdio> #include<algorithm> #define maxn 100001 #define LL long long using n 阅读全文
posted @ 2016-11-16 15:03 Native_carrot 阅读(148) 评论(0) 推荐(0) 编辑