/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:50:20: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int tmid=tl+tr>>1; bool fg=0;
~~^~~
/in/foo.cc:53:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(i==tmid) i++; if(j==tmid) j--;
^~
/in/foo.cc:53:30: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(i==tmid) i++; if(j==tmid) j--;
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:76:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
mid=l+r>>1; flag=0;
~^~