QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#553312#9239. HieroglyphsMilmon#Compile Error//C++20150b2024-09-08 11:50:082024-09-08 11:50:09

詳細信息

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>>;
      |             ^~~~~~