/in/foo.cc:3:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(linker,"/STACK:1024000000,1024000000")
/in/foo.cc: In function 'void st()':
/in/foo.cc:221:50: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
dp[i][j]=(dep[dp[i-1][j]]<dep[dp[i-1][j+(1<<i-1)]] ? dp[i-1][j] : dp[i-1][j+(1<<i-1)]);
~^~
/in/foo.cc:221:86: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
dp[i][j]=(dep[dp[i-1][j]]<dep[dp[i-1][j+(1<<i-1)]] ? dp[i-1][j] : dp[i-1][j+(1<<i-1)]);
~^~