摘要:
int low_bit(int x){ return x&-x;}void add(int pos,int val){ while(pos<=maxn) { c[pos]+=val; pos+=low_bit(pos); }}int sum(int pos){ int ans=0; while(po 阅读全文
posted @ 2018-02-21 22:45
鹏鹏哥哥
阅读(89)
评论(0)
推荐(0)
浙公网安备 33010602011771号