摘要: A 直接线段树过的 两遍 貌似大多是标记过的。。注意long long 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 #define LL long long 9 #define N 100100 10 LL s[N>1; 25 build(l,m,w=r) 56 { 57 if(f) 58 { 59 s[w]+=(r-l+1); 60 l... 阅读全文
posted @ 2014-02-25 21:04 _雨 阅读(302) 评论(0) 推荐(0) 编辑