2020年10月22日
摘要: 估分:20+45+30=95 实际:0+0+15=15 T1: 数组开大了,初始化超时了 遍历一遍数组当答案的右端点,线段树维护左端点对应的答案,每次遍历时更新一下答案即可 1 #include<cstdio> 2 #include<cstring> 3 #include<vector> 4 #in 阅读全文
posted @ 2020-10-22 17:25 ArrogHie 阅读(140) 评论(0) 推荐(0) 编辑