0_0_24193466_2969.cpp: In function 'void build(int, int, int)':
0_0_24193466_2969.cpp:15:8: error: 'rson' was not declared in this scope
build(rson);
^
0_0_24193466_2969.cpp:16:8: error: 'lson' was not declared in this scope
build(lson);
^
0_0_24193466_2969.cpp:17:11: error: 'Pushup' was not declared in this scope
Pushup(rt);
^
0_0_24193466_2969.cpp: In function 'void update(int, int, int, int, int)':
0_0_24193466_2969.cpp:30:15: error: 'lson' was not declared in this scope
update(p,add,lson);
^
0_0_24193466_2969.cpp:31:20: error: 'rson' was not declared in this scope
else update(p,add,rson);
^
0_0_24193466_2969.cpp:32:11: error: 'Pushup' was not declared in this scope
Pushup(rt);
^
0_0_24193466_2969.cpp: In function 'int find(int, int, int, int, int)':
0_0_24193466_2969.cpp:51:8: error: 'm' was not declared in this scope
if(L<=m)
^
0_0_24193466_2969.cpp:52:16: error: 'lson' was not declared in this scope
ret+=find(L,R,lson);
^
0_0_24193466_2969.cpp:53:7: error: 'm' was not declared in this scope
if(R>m)
^
0_0_24193466_2969.cpp:54:16: error: 'rson' was not declared in this scope
ret+=find(L,R,rson);
^
0_0_24193466_2969.cpp: In function 'int main()':
0_0_24193466_2969.cpp:69:13: error: 'bulid' was not declared in this scope
bulid(1,n,1);
^
0_0_24193466_2969.cpp:75:77: error: 'query' was not declared in this scope
if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
^
|