0_0_29981977_25317.cpp:11:5: error: 'MAXN' was not declared in this scope
}tr[MAXN*4];
^
0_0_29981977_25317.cpp: In function 'void up(int)':
0_0_29981977_25317.cpp:13:5: error: 'tr' was not declared in this scope
tr[rt].sum=tr[rt*2].sum+tr[rt*2+1].sum;
^
0_0_29981977_25317.cpp: In function 'void BUI(int, int, int)':
0_0_29981977_25317.cpp:16:5: error: 'tr' was not declared in this scope
tr[rt].l=l;tr[rt].r=r;
^
0_0_29981977_25317.cpp: In function 'void UPD(int, int, int)':
0_0_29981977_25317.cpp:28:8: error: 'tr' was not declared in this scope
if(tr[rt].sum==tr[rt].len) return ;
^
0_0_29981977_25317.cpp:29:8: error: 'tr' was not declared in this scope
if(tr[rt].l==tr[rt].r){
^
0_0_29981977_25317.cpp:33:14: error: 'tr' was not declared in this scope
int mid=(tr[rt].l+tr[rt].r)/2;
^
0_0_29981977_25317.cpp: In function 'long long int QUE(int, int, int)':
0_0_29981977_25317.cpp:40:8: error: 'tr' was not declared in this scope
if(tr[rt].l==l&&tr[rt].r==r)
^
0_0_29981977_25317.cpp:42:14: error: 'tr' was not declared in this scope
int mid=(tr[rt].l+tr[rt].r)/2;
^
|