Compile Error
/in/foo.cc: In function 'void Dfs2(int, int)':
/in/foo.cc:44:31: error: too many arguments to function 'void Dfs2(int, int)'
if(son[u]) Dfs2(son[u], u, tp);
^
/in/foo.cc:42:6: note: declared here
void Dfs2(int u, int tp){
^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:64:24: error: too many arguments to function 'void Dfs1(int)'
deep[1] = 1, Dfs1(1, 0), Dfs2(1, 1);
^
/in/foo.cc:29:6: note: declared here
void Dfs1(int u){
^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- lxhgww的奇思妙想
- 语言
- C++
- 递交时间
- 2018-08-09 19:45:04
- 评测时间
- 2018-08-09 19:45:04
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes