QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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;