QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#293599 | #7119. Longest Trip | ucup-team1265 | Compile Error | / | / | C++20 | 2.5kb | 2023-12-29 14:06:55 | 2024-04-28 09:22:07 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
In file included from /usr/include/c++/13/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp:45, from /usr/include/c++/13/ext/pb_ds/detail/container_base_dispatch.hpp:90, from /usr/include/c++/13/ext/pb_ds/assoc_container.hpp:48, from answer.code:7: answer.code: In function ‘std::vector<int> longest_trip(int, int)’: answer.code:82:63: error: too few arguments to function ‘bool are_connected(std::vector<int>, std::vector<int>)’ 82 | for(int i = 1; i < path1.size(); i++) assert(are_connected({path1[i - 1], path1[i]})); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from answer.code:4: longesttrip.h:5:6: note: declared here 5 | bool are_connected(std::vector<int> A, std::vector<int> B); | ^~~~~~~~~~~~~