Problem | archaeologist |
---|---|
User | Fosksjdkskzjskskzk |
Submission Time | 2025-03-05 12:51:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
archaeologist.cpp: In function ‘void archaeologist(int, int, int, std::vector<int>, int, std::vector<int>)’:
archaeologist.cpp:36:27: error: ‘vector’ was not declared in this scope
36 | std::pair<int,vector<int>> x;
| ^~~~~~
archaeologist.cpp:36:27: note: suggested alternatives:
In file included from /usr/include/c++/9/vector:67,
from archaeologist.cpp:2:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from archaeologist.cpp:2:
/usr/include/c++/9/vector:90:13: note: ‘std::pmr::vector’
90 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
archaeologist.cpp:36:37: error: template argument 2 is invalid
36 | std::pair<int,vector<int>> x;