/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:13:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while ((c = getchar()) < '0' || c > '9'); x = c - '0';
^~~~~
/in/foo.cc:13:47: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while ((c = getchar()) < '0' || c > '9'); x = c - '0';
^
/in/foo.cc: In function 'void push_up(int)':
/in/foo.cc:23:38: error: 'max' was not declared in this scope
Max1[id] = max(Max1[lc], Max1[rc]);
^
/in/foo.cc: In function 'int query(int, int, int, int, int, int)':
/in/foo.cc:37:79: error: 'max' was not declared in this scope
else { return max(query(l, mid, flag, lson), query(mid + 1, r, flag, rson)); }
^