Compile Error
/in/foo.cc:5:16: error: 'deep' has not been declared
5 | void dfs(int u,deep){
| ^~~~
/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:7:23: error: 'deep' was not declared in this scope
7 | maxd=max(maxd,deep);
| ^~~~
信息
- 递交者
- 类型
- 自测
- 题目
- P2192 二叉树的深度和宽度x12_6
- 语言
- C++
- 递交时间
- 2026-02-25 08:51:28
- 评测时间
- 2026-02-25 08:51:28
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes