摘要: 新学 segment-tree-beats. 这道题在区间取 min/max 的基础上还有一个区间加,那么显然要先做区间加,再取 min/max. code: // bzoj 最假女选手 #include <cstdio> #include <algorithm> #include <cstring 阅读全文
posted @ 2020-03-23 23:24 EM-LGH 阅读(190) 评论(0) 推荐(0) 编辑