Compile Error
foo.cc:7:9: error: expected initializer before 'for'
7 | for(int i=c[t-1]+1;i<=n;i++){
| ^~~
foo.cc:7:28: error: 'i' does not name a type
7 | for(int i=c[t-1]+1;i<=n;i++){
| ^
foo.cc:7:33: error: 'i' does not name a type
7 | for(int i=c[t-1]+1;i<=n;i++){
| ^
foo.cc:28:1: error: expected declaration before '}' token
28 | }
| ^
foo.cc: In function 'int main()':
foo.cc:35:9: error: 'dfs' was not declared in this scope; did you mean 'ffs'?
35 | dfs(1);
| ^~~
| ffs
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1133 装箱问题
- 语言
- C++
- 递交时间
- 2023-06-14 14:17:50
- 评测时间
- 2023-06-14 14:17:50
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes