摘要:
fafu 1008 1 #include 2 #include 3 const int N=100000+5; 4 int n, q; 5 int a[N], tree[N>1;14 build(rt>1));28 tree[(rt>1);29 t[r... 阅读全文
摘要:
1 #include 2 int n, m; 3 int a[10]; 4 int tree[6>1; 20 build(rt=r) 30 return tree[rt]; 31 if(a>r || b>1; 34 int x=query(rt>1; 54 if(a<=m) 55 updata(rt<... 阅读全文