摘要: 对照着notonlysuccess大牛的代码写的#include#include#include#include#define lson l,m,rt>1; build(lson); build(rson);}void pushUp(int rt,int m){ lsum[rt]=... 阅读全文
posted @ 2014-11-02 19:51 JarvisLau 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 第一次没想到用位运算,不出意料的T了,,,PS:在床上呆了接近两个月后,我胡汉三又杀回来刷题啦~~#include#include#include#include#define lson l,m,rt=L&&R>=r) { sum[rt]=c; col[rt]=1r... 阅读全文
posted @ 2014-11-02 12:22 JarvisLau 阅读(152) 评论(0) 推荐(0) 编辑