摘要: 更新于2017 4 12 目前学的线段树的操作; 1.某段区间+v; 2。替换某个值(这个代码没涉及0.0) 3.查询区间和,最大值,最小值; 部分代码如下 #include<iostream> #include<cstdio> #include<cstring> #include<cstdio> 阅读全文
posted @ 2017-04-12 21:58 Fornic 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-04-12 14:10 Fornic 阅读(109) 评论(0) 推荐(0) 编辑