QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#733045#9570. Binary Treeucup-team983Compile Error//C++142.0kb2024-11-10 16:57:202024-11-10 16:57:20

详细

answer.code: In function ‘int dfs(int)’:
answer.code:65:24: error: ‘v’ was not declared in this scope
   65 |         int r = ask(u, v);
      |                        ^
answer.code:66:34: error: expected primary-expression before ‘return’
   66 |         if(r == 0) st[v] = true, return dfs(u);
      |                                  ^~~~~~