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