摘要: 提供两种思路 一种线段树区间更新 另一种用map维护连续的区间,也是题解的思路 第二种很难写(我太渣,看了别人的代码,发现自己写的太烦了) #include<iostream> #include<map> #include<iostream> #include<cstring> #include<c 阅读全文
posted @ 2018-01-23 21:45 basasuya 阅读(142) 评论(0) 推荐(0) 编辑