Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:19:35: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] f[i][j]=max(f[i][j-1],f[i+(1<<j-1)][j-1]); ~^~ /in/foo.cc:18:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=1;i+(1<<j)-1<=n;++i) ^~~ /in/foo.cc:20:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' while(m--) ^~~~~