QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#401160 | #124. Library | hyforces# | Compile Error | / | / | C++20 | 2.1kb | 2024-04-28 03:31:08 | 2024-04-28 08:59:31 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int query(std::vector<int>)’: answer.code:17:18: error: invalid initialization of reference of type ‘const std::vector<int>&’ from expression of type ‘std::vector<bool>’ 17 | return Query(ret); | ^~~ In file included from answer.code:2: library.h:2:35: note: in passing argument 1 of ‘int Query(const std::vector<int>&)’ 2 | int Query(const std::vector<int>& M); | ~~~~~~~~~~~~~~~~~~~~~~~~^