Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:21:22: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] for(int i=1;i+(1<<j-1)<=n;i++) ~^~ /in/foo.cc:22:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] Dp[i][j]=max(Dp[i][j-1],Dp[i+(1<<j-1)][j-1]); ~^~