Accepted
/in/foo.cc: In function 'int DP(int)': /in/foo.cc:5:13: warning: unused variable 'k' [-Wunused-variable] int i,j,k,top=0,sum=0; ^ /in/foo.cc: In function 'int main()': /in/foo.cc:23:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=2;i<11;i++) ^~~ /in/foo.cc:27:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' cin>>n>>m; ^~~