摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=33974小时AC 我要崩溃了View Code 1 //HDU 3397 2 #include <cstdio> 3 using namespace std; 4 const int N=100010; 5 struct segtree 6 { 7 int l,r,c,s0,ls0,rs0,s1,ls1,rs1,cnt; 8 int m() {return (r+l)/2;} 9 int len() {return r-l+1;} 10 void set(i...
阅读全文