foo.cc: In function 'int main()':
foo.cc:7:7: error: 'read' was not declared in this scope
7 | n=read(),k=read();
| ^~~~
foo.cc:8:5: error: 'scanf' was not declared in this scope
8 | scanf("%s",s+1);
| ^~~~~
foo.cc:9:9: error: 'i' was not declared in this scope
9 | For(i,1,n) dp[i][i-1][0]=1;
| ^
foo.cc:9:5: error: 'For' was not declared in this scope
9 | For(i,1,n) dp[i][i-1][0]=1;
| ^~~
foo.cc:10:9: error: 'len' was not declared in this scope
10 | For(len,1,n){
| ^~~
foo.cc:27:5: error: 'printf' was not declared in this scope
27 | printf("%lld\n",dp[1][n][3]);
| ^~~~~~
foo.cc:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | #define int long long
正在同步测试数据,请稍后
Found 20 testcases.
[Hydro](https://hydro.ac)提供评测服务