QOJ.ac
QOJ
The 2nd Universal Cup Finals is coming! Check out our event page, schedule, and competition rules!
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#292738 | #7119. Longest Trip | alch07 | Compile Error | / | / | C++20 | 5.3kb | 2023-12-28 12:26:44 | 2024-04-28 09:13:49 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘std::vector<int> longest_trip(int, int)’: answer.code:14:16: error: ‘are_connected’ was not declared in this scope 14 | if(are_connected({i}, {i+1})){ | ^~~~~~~~~~~~~ answer.code:58:16: error: ‘are_connected’ was not declared in this scope 58 | if(are_connected({s1.back()}, {i})){ | ^~~~~~~~~~~~~ answer.code:85:8: error: ‘are_connected’ was not declared in this scope 85 | if(are_connected(s1Ep, s2Ep)){ | ^~~~~~~~~~~~~ answer.code:173:1: warning: control reaches end of non-void function [-Wreturn-type] 173 | } | ^