0_0_24193535_16726.cpp: In function 'void build(int, int, int)':
0_0_24193535_16726.cpp:6:14: error: 'm' was not declared in this scope
#define rson m + 1 , r , rt << 1 | 1
^
0_0_24193535_16726.cpp:17:8: note: in expansion of macro 'rson'
build(rson);
^
0_0_24193535_16726.cpp:19:11: error: 'Pushup' was not declared in this scope
Pushup(rt);
^
0_0_24193535_16726.cpp: In function 'void update(int, int, int, int, int)':
0_0_24193535_16726.cpp:5:18: error: 'm' was not declared in this scope
#define lson l , m , rt << 1
^
0_0_24193535_16726.cpp:32:15: note: in expansion of macro 'lson'
update(p,add,lson);
^
0_0_24193535_16726.cpp:6:14: error: 'm' was not declared in this scope
#define rson m + 1 , r , rt << 1 | 1
^
0_0_24193535_16726.cpp:33:20: note: in expansion of macro 'rson'
else update(p,add,rson);
^
0_0_24193535_16726.cpp:34:11: error: 'Pushup' was not declared in this scope
Pushup(rt);
^
0_0_24193535_16726.cpp: In function 'int find(int, int, int, int, int)':
0_0_24193535_16726.cpp:53:8: error: 'm' was not declared in this scope
if(L<=m)
^
0_0_24193535_16726.cpp:55:7: error: 'm' was not declared in this scope
if(R>m)
^
0_0_24193535_16726.cpp: In function 'int main()':
0_0_24193535_16726.cpp:71:13: error: 'bulid' was not declared in this scope
bulid(1,n,1);
^
0_0_24193535_16726.cpp:77:77: error: 'query' was not declared in this scope
if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
^
|