QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#727909#9570. Binary Treeucup-team5522#Compile Error//C++142.6kb2024-11-09 14:07:012024-11-09 14:07:03

详细

answer.code: In function ‘void dfs(int, int)’:
answer.code:24:12: error: too few arguments to function ‘void dfs(int, int)’
   24 |         dfs(v);
      |         ~~~^~~
answer.code:15:6: note: declared here
   15 | void dfs(int u, int fa)
      |      ^~~
answer.code: In function ‘void del(int, int)’:
answer.code:43:12: error: too few arguments to function ‘void del(int, int)’
   43 |         del(v);
      |         ~~~^~~
answer.code:35:6: note: declared here
   35 | void del(int u, int fa)
      |      ^~~
answer.code: In function ‘void solve(int)’:
answer.code:66:30: error: expected ‘;’ before string constant
   66 |         cout << a << " " << b "\n";
      |                              ^~~~~
      |                              ;