/in/foo.cc: In function 'long long int getpos(long long int)':
/in/foo.cc:98:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(vis[u]) continue; vis[u]=1;
^~
/in/foo.cc:98:30: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(vis[u]) continue; vis[u]=1;
^~~
/in/foo.cc: In function 'long long int up_find(long long int, long long int, long long int)':
/in/foo.cc:114:8: warning: unused variable 'Max' [-Wunused-variable]
ll Max=0;
^~~
/in/foo.cc: In function 'long long int the_max(long long int, long long int)':
/in/foo.cc:125:8: warning: unused variable 't' [-Wunused-variable]
ll t=dep[x]-dep[to];
^
/in/foo.cc: In function 'long long int down_find(long long int, long long int, long long int)':
/in/foo.cc:142:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
mid=l+r>>1;
~^~
/in/foo.cc: In function 'long long int getpos(long long int)':
/in/foo.cc:107:12: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
return p;
^