Compile Error
/in/foo.cc: In function 'void dfs(long long int)':
/in/foo.cc:7:14: error: 'step' was not declared in this scope; did you mean 'strsep'?
7 | f[u]=step;
| ^~~~
| strsep
At global scope:
cc1plus: error: '::main' must return 'int'
/in/foo.cc: In function 'int main()':
/in/foo.cc:19:12: error: too many arguments to function 'void dfs(long long int)'
19 | dfs(1,0);
| ~~~^~~~~
/in/foo.cc:6:6: note: declared here
6 | void dfs(int u){
| ^~~
信息
- 递交者
- 类型
- 自测
- 题目
- P3192 分树规划 202609GESP6级T2
- 语言
- C++
- 递交时间
- 2026-11-14 09:16:21
- 评测时间
- 2026-11-14 09:16:21
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes