摘要: 区间连续不重复子段最大值,要维护历史的最大值和当前的最大值,打两个lazy,离线 #include<cstdio> #include<cstring> #include<algorithm> #define maxn 150000 #define rep(i,l,r) for(int i=l;i<= 阅读全文
posted @ 2017-03-10 15:48 Macaulish 阅读(120) 评论(0) 推荐(0) 编辑