0_0_23781704_19220.cpp: In function 'void pushup(int)':
0_0_23781704_19220.cpp:16:5: error: 'sum' was not declared in this scope
sum[rt]=sum[rt<<1]+sum[rt<<1|1];
^
0_0_23781704_19220.cpp: In function 'void build(int, int, int)':
0_0_23781704_19220.cpp:20:5: error: 'add' was not declared in this scope
add[rt]=-1;
^
0_0_23781704_19220.cpp:25:9: error: 'sum' was not declared in this scope
sum[rt]=(a[l]>=b[l]);
^
0_0_23781704_19220.cpp: In function 'void pushdown(int)':
0_0_23781704_19220.cpp:54:8: error: 'add' was not declared in this scope
if(add[rt]!=-1)
^
0_0_23781704_19220.cpp:59:9: error: 'sum' was not declared in this scope
sum[rt<<1]=pl[pos]?pl[pos]-st[rt<<1]+1:0;
^
0_0_23781704_19220.cpp: In function 'void update(int, int, int, int)':
0_0_23781704_19220.cpp:68:9: error: 'sum' was not declared in this scope
sum[rt]=pos?pos-st[rt]+1:0;
^
0_0_23781704_19220.cpp:69:9: error: 'add' was not declared in this scope
add[rt]=pos;
^
0_0_23781704_19220.cpp: In function 'int query(int, int, int)':
0_0_23781704_19220.cpp:82:16: error: 'sum' was not declared in this scope
return sum[rt];
^
|