QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#42668 | #896. Horses | larryzhong | Compile Error | / | / | C++17 | 3.0kb | 2022-08-03 12:18:06 | 2022-08-03 12:18:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In member function ‘void dsu::merge(int, int)’: answer.code:14:36: error: return-statement with a value, in function returning ‘void’ [-fpermissive] 14 | if (x == y) return false; | ^~~~~ answer.code:15:33: error: return-statement with a value, in function returning ‘void’ [-fpermissive] 15 | return fa[y] = x, true;