/in/foo.cc: In function 'void Build(int, int, int)':
/in/foo.cc:127:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l + r >> 1;
~~^~~
/in/foo.cc: In function 'void Modify(int, int, int, int, int, int)':
/in/foo.cc:139:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l + r >> 1;
~~^~~
/in/foo.cc: In function 'int Ask(int, int, int, int, int)':
/in/foo.cc:163:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l + r >> 1;
~~^~~
/in/foo.cc: In function 'void ModifyCol(int, int, int, int, int, int)':
/in/foo.cc:175:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l + r >> 1;
~~^~~
/in/foo.cc: In function 'int AskCol(int, int, int, int)':
/in/foo.cc:188:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l + r >> 1;
~~^~~
/in/foo.cc: In function 'void Modify(int, int)':
/in/foo.cc:195:12: warning: unused variable 'q' [-Wunused-variable]
int p, q, r, c, nl = 0, nr = 0, toplastc, nextx;
^
/in/foo.cc:195:47: warning: unused variable 'nextx' [-Wunused-variable]
int p, q, r, c, nl = 0, nr = 0, toplastc, nextx;
^~~~~
/in/foo.cc:220:57: warning: 'toplastc' may be used uninitialized in this function [-Wmaybe-uninitialized]
nl = f[r], nr = g[r], x = fa[r], col_top[c] = toplastc;
~~~~~~~~~~~^~~~~~~~~~