/in/foo.cc: In function 'void Build_Tree(int, int, int)':
/in/foo.cc:33:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l + r >> 1;
~~^~~
/in/foo.cc: In function 'int Query(int, int, int, int, int)':
/in/foo.cc:53:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l + r >> 1, ret = INF;
~~^~~
/in/foo.cc: In function 'void Modify(int, int, int, int, int, int)':
/in/foo.cc:66:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l + r >> 1;
~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:87:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (g >= 0) ++ans; Mark[1] -= A[i];
^~
/in/foo.cc:87:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (g >= 0) ++ans; Mark[1] -= A[i];
^~~~