/in/foo.cc: In function 'int main()':
/in/foo.cc:13:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
/in/foo.cc:15:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
int y=i+1;
^~~
/in/foo.cc:14:17: warning: unused variable 'x' [-Wunused-variable]
int x=i-1;
^
/in/foo.cc:16:16: error: 'x' was not declared in this scope
if(x==0)x=n;
^
/in/foo.cc:18:25: error: 'x' was not declared in this scope
dp[i][j]=dp[x][j-1]+dp[y][j-1];
^