0_0_26111432_13196.cpp:13:17: error: array bound is not an integer constant before ']' token
int maxs[maxn<<2];
^
0_0_26111432_13196.cpp:19:11: error: array bound is not an integer constant before ']' token
}node[maxn];
^
0_0_26111432_13196.cpp: In function 'void Pushup(int)':
0_0_26111432_13196.cpp:42:2: error: 'maxs' was not declared in this scope
maxs[root] = max(maxs[rt <<1], maxs[rt <<1 + 1]);
^
0_0_26111432_13196.cpp:42:24: error: 'rt' was not declared in this scope
maxs[root] = max(maxs[rt <<1], maxs[rt <<1 + 1]);
^
0_0_26111432_13196.cpp: In function 'void Build(int, int, int)':
0_0_26111432_13196.cpp:49:3: error: 'maxs' was not declared in this scope
maxs[rt] = 0;
^
0_0_26111432_13196.cpp: In function 'void Update(int, int, int, int, int)':
0_0_26111432_13196.cpp:62:3: error: 'maxs' was not declared in this scope
maxs[rt] = k;
^
0_0_26111432_13196.cpp: In function 'int QueryMax(int, int, int, int, int)':
0_0_26111432_13196.cpp:78:10: error: 'maxs' was not declared in this scope
return maxs[rt];
^
0_0_26111432_13196.cpp: In function 'int main()':
0_0_26111432_13196.cpp:97:21: error: 'nod' was not declared in this scope
scanf("%d%d%d", &nod[i].x, &nod[i].y, &nod[i].val);
^
0_0_26111432_13196.cpp:98:8: error: 'nod' was not declared in this scope
sort(nod + 1, nod + n + 1, cmp1);
^
|