Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:23:36: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] f[i][j]=max(f[i][j-1],f[i+(1<<j-1)][j-1]); ~^~ /in/foo.cc:24:36: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] g[i][j]=min(g[i][j-1],g[i+(1<<j-1)][j-1]); ~^~