Compile Error

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:13:28: error: expected ')' before ';' token
   13 |         dfs(a[num].l, dep+1;
      |            ~               ^
      |                            )
/in/foo.cc:14:28: error: expected ')' before ';' token
   14 |         dfs(a[num].r, dep+1;
      |            ~               ^
      |                            )

信息

递交者
类型
递交
题目
P2192 二叉树的深度和宽度x12_6
语言
C++
递交时间
2026-04-30 16:13:28
评测时间
2026-04-30 16:13:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes