摘要:
http://acm.timus.ru/problem.aspx?space=1&num=1090 1 #include 2 #include 3 #include 4 #define maxn 20000 5 using namespace std; 6 7 int c[maxn],n,a[maxn]; 8 int lowbit(int x) 9 {10 return x&(-x);11 }12 13 void add(int pos)14 {15 while(pos0)26 {27 sum+=c[pos];28 pos-=lo... 阅读全文
posted @ 2014-03-21 17:17
null1019
阅读(123)
评论(0)
推荐(0)

浙公网安备 33010602011771号