摘要: 【算法】线段树||二分+前缀和 【题解】线段树记录区间加值和区间最大值。 #include<cstdio> #include<algorithm> using namespace std; const int maxn=1e6; struct treess{int l,r,ms,delta;}t[m 阅读全文
posted @ 2016-09-05 13:07 ONION_CYC 阅读(278) 评论(0) 推荐(0) 编辑