0_0_25928422_10629.cpp: In function 'void build(int, int, int)':
0_0_25928422_10629.cpp:19:12: error: invalid operands of types 'pp [300005]' and 'int' to binary 'operator<<'
build(tr<<1|1,mid+1,r);
^
0_0_25928422_10629.cpp: In function 'int query(int, int, int, int)':
0_0_25928422_10629.cpp:28:2: error: 'retur' was not declared in this scope
retur tr[rt].ans-tr[rt<<1].ans+query(rt<<1,l,mid,ma);
^
0_0_25928422_10629.cpp: At global scope:
0_0_25928422_10629.cpp:31:1: error: 'viod' does not name a type
viod update(int rt,int l,int r,int k,int ma){
^
0_0_25928422_10629.cpp: In function 'int main()':
0_0_25928422_10629.cpp:58:23: error: 'update' was not declared in this scope
update(1,1,n,i,a[i]);
^
0_0_25928422_10629.cpp:63:21: error: 'update' was not declared in this scope
update(1,1,n,k,ma);
^
|