Compile Error
/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:7:17: error: 'f' was not declared in this scope
7 | int num=f[u]+cnt;
| ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:27:17: error: 'f' was not declared in this scope
27 | f[x]++;
| ^
信息
- 递交者
- 类型
- 自测
- 题目
- P2782 二叉树 6级2 2024.6
- 语言
- C++
- 递交时间
- 2026-02-25 09:38:53
- 评测时间
- 2026-02-25 09:38:55
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes