/ WHOJ /

记录详情

Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
P1719 [CSP-S 2021] 括号序列
题目数据
下载
语言
C++
递交时间
2022-09-25 13:55:46
评测时间
2022-09-25 13:55:46
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes