QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#553312 | #9239. Hieroglyphs | Milmon# | Compile Error | / | / | C++20 | 150b | 2024-09-08 11:50:08 | 2024-09-08 11:50:09 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘std::vector<int> ucs(std::vector<int>, std::vector<int>)’: answer.code:5:17: error: ‘vector’ was not declared in this scope 5 | return A==B?A:vector<int>(1,-1); | ^~~~~~~~~~~ answer.code:5:17: note: suggested alternatives: In file included from /usr/include/c++/13/vector:66, from hieroglyphs.h:1, from answer.code:1: /usr/include/c++/13/bits/stl_vector.h:425:11: note: ‘std::vector’ 425 | class vector : protected _Vector_base<_Tp, _Alloc> | ^~~~~~ /usr/include/c++/13/vector:86:13: note: ‘std::pmr::vector’ 86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>; | ^~~~~~