foo.cc: In function 'int main()':
foo.cc:24:29: error: expected primary-expression before '?' token
24 | if(i>=k)f[i][j]>?=f[i-k][j-1]+a[i];
| ^
foo.cc:24:30: error: expected primary-expression before '=' token
24 | if(i>=k)f[i][j]>?=f[i-k][j-1]+a[i];
| ^
foo.cc:24:47: error: expected ':' before ';' token
24 | if(i>=k)f[i][j]>?=f[i-k][j-1]+a[i];
| ^
| :
foo.cc:24:47: error: expected primary-expression before ';' token
foo.cc:25:29: error: expected primary-expression before '?' token
25 | if(j==1)f[i][j]>?=f[i-1][j-1]+a[i];//j=1时就没有相隔k的限制,可以直接取
| ^
foo.cc:25:30: error: expected primary-expression before '=' token
25 | if(j==1)f[i][j]>?=f[i-1][j-1]+a[i];//j=1时就没有相隔k的限制,可以直接取
| ^
foo.cc:25:47: error: expected ':' before ';' token
25 | if(j==1)f[i][j]>?=f[i-1][j-1]+a[i];//j=1时就没有相隔k的限制,可以直接取
| ^
| :
foo.cc:25:47: error: expected primary-expression before ';' token
foo.cc:28:27: error: expected primary-expression before '?' token
28 | for(i=0;i<=n;i++) max>?=f[i][m];
| ^
foo.cc:28:28: error: expected primary-expression before '=' token
28 | for(i=0;i<=n;i++) max>?=f[i][m];
| ^
foo.cc:28:36: error: expected ':' before ';' token
28 | for(i=0;i<=n;i++) max>?=f[i][m];
| ^
| :
foo.cc:28:36: error: expected primary-expression before ';' token
[Hydro](https://hydro.ac)提供评测服务