摘要: #include#include#include#include#define lson l,m,rt> 1)) * col[rt]; sum[rt> 1) * col[rt]; col[rt] = 0; }}void build(int l,int r,int rt){ c... 阅读全文
posted @ 2014-08-09 19:58 JarvisLau 阅读(150) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#define lson l,m,rt=p) { update(v,p,lson); } else { p-=sum[rt>n) { for(int i=0; i=... 阅读全文
posted @ 2014-08-09 12:50 JarvisLau 阅读(122) 评论(0) 推荐(0) 编辑