0_0_36271762_29421.cpp:30:16: error: expected ']' before ',' token
int tag[MAXNODE,m;
^
0_0_36271762_29421.cpp: In function 'void build(int, int, int, int)':
0_0_36271762_29421.cpp:35:5: error: 'tag' was not declared in this scope
tag[rt] = 1;//标记rt已被选择
^
0_0_36271762_29421.cpp: In function 'void query(node, int, int)':
0_0_36271762_29421.cpp:45:8: error: 'tag' was not declared in this scope
if(tag[rt] == 0) return;//不存在该节点
^
|