foo.cc: In function 'int main()':
foo.cc:27:14: error: expected primary-expression before ';' token
27 | for(int i=;i<=n;i++)
| ^
foo.cc:16:29: error: expected primary-expression before ',' token
16 | #define CLR(A,v) memset(A,v,sizeof A)
| ^
foo.cc:29:4: note: in expansion of macro 'CLR'
29 | CLR(dp,);
| ^~~
foo.cc:30:14: error: expected primary-expression before ';' token
30 | for(int i=;i<=n;i++)
| ^
foo.cc:31:11: error: expected primary-expression before ']' token
31 | dp[i][]=;//先初始化 每个数字都是长度为1的序列
| ^
foo.cc:31:13: error: expected primary-expression before ';' token
31 | dp[i][]=;//先初始化 每个数字都是长度为1的序列
| ^
foo.cc:33:14: error: expected primary-expression before ';' token
33 | for(int i=;i<=n;i++)
| ^
foo.cc:34:18: error: expected primary-expression before ';' token
34 | for(int k=;k<=m;k++)
| ^
foo.cc:35:19: error: expected primary-expression before ';' token
35 | for(int j=;j<=i-;j++)
| ^
foo.cc:35:25: error: expected primary-expression before ';' token
35 | for(int j=;j<=i-;j++)
| ^
foo.cc:36:43: error: expected primary-expression before ']' token
36 | if(a[i]>=a[j])dp[i][k]+=dp[j][k-];//遍历完之后 显然dp[i][k]所有子序列必定包含a[i](且a[i]为最后一个数) 以此类推之前的dp[j]也都是以a[j]为最后一个数 所以不会有重复
| ^
foo.cc:38:18: error: expected primary-expression before ';' token
38 | long long ans=;
| ^
foo.cc:39:14: error: expected primary-expression before ';' token
39 | for(int i=;i<=n;i++)
| ^
[Hydro](https://hydro.ac)提供评测服务