摘要: #include #include #include #define lson rt>1; build(lson); build(rson); pushUp(rt);}void update(int rt,int L,int R,int l,int r,long long val){ if(l>1; if(lmid) update(rson,l,r,val); pushUp(rt);}long long query(int rt,int L,int R,int l,int r){ long long ret=0; if(l>1; ... 阅读全文
posted @ 2013-11-07 20:52 辰曦~文若 阅读(150) 评论(0) 推荐(0)