/in/foo.cc:8:6: error: stray '\357' in program
int n,a,sum[maxn],dp[maxn][maxn];
^
/in/foo.cc:8:7: error: stray '\274' in program
int n,a,sum[maxn],dp[maxn][maxn];
^
/in/foo.cc:8:8: error: stray '\214' in program
int n,a,sum[maxn],dp[maxn][maxn];
^
/in/foo.cc:8:9: error: expected initializer before 'a'
int n,a,sum[maxn],dp[maxn][maxn];
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:17: error: 'n' was not declared in this scope
scanf("%d",&n);
^
/in/foo.cc:12:21: error: 'a' was not declared in this scope
scanf("%d",&a);
^
/in/foo.cc:13:9: error: 'dp' was not declared in this scope
dp[i][i]=a;
^~
/in/foo.cc:14:9: error: 'sum' was not declared in this scope
sum[i]=sum[i-1]+a;
^~~
/in/foo.cc:18:13: error: 'dp' was not declared in this scope
dp[j][j+i]=sum[i+j]-sum[j-1]-min(dp[j+1][j+i],dp[j][j+i-1]);
^~
/in/foo.cc:18:24: error: 'sum' was not declared in this scope
dp[j][j+i]=sum[i+j]-sum[j-1]-min(dp[j+1][j+i],dp[j][j+i-1]);
^~~
/in/foo.cc:21:17: error: 'dp' was not declared in this scope
printf("%d",dp[1][n]);
^~