0_0_32691712_30756.cpp: In function 'void PushUp(int, int, int)':
0_0_32691712_30756.cpp:14:57: error: 'MAX' was not declared in this scope
tree[idx].mv = MAX(tree[idx<<1].mv,tree[idx<<1|1].mv);
^
0_0_32691712_30756.cpp: In function 'int query(int, int, int)':
0_0_32691712_30756.cpp:54:47: error: 'MAX' was not declared in this scope
if(l<=mid) ans = MAX(ans,query(l,r,idx<<1));
^
0_0_32691712_30756.cpp:55:48: error: 'MAX' was not declared in this scope
if(r>mid) ans = MAX(ans,query(l,r,idx<<1|1));
^
0_0_32691712_30756.cpp:57:50: error: 'MIN' was not declared in this scope
ans = MAX(ans,MIN(mid-l+1,tree[idx<<1].rv)+MIN(r-mid,tree[idx<<1|1].lv)); ///z
^
0_0_32691712_30756.cpp:57:80: error: 'MAX' was not declared in this scope
ans = MAX(ans,MIN(mid-l+1,tree[idx<<1].rv)+MIN(r-mid,tree[idx<<1|1].lv)); ///z
^
|