0_0_13325764_13208.cpp: In function 'void build(int, int, int)':
0_0_13325764_13208.cpp:26:60: error: 'max' was not declared in this scope
tree[id].MAX = max(tree[id * 2].MAX, tree[id * 2 + 1].MAX);
^
0_0_13325764_13208.cpp: In function 'void update(int, int, int)':
0_0_13325764_13208.cpp:40:60: error: 'max' was not declared in this scope
tree[id].MAX = max(tree[id * 2].MAX, tree[id * 2 + 1].MAX);
^
0_0_13325764_13208.cpp: In function 'int queryMax(int, int, int)':
0_0_13325764_13208.cpp:56:40: error: 'max' was not declared in this scope
queryMax(id * 2 + 1, mid + 1, right));
^
|