Problem archaeologist
User Fosksjdkskzjskskzk
Submission Time 2025-03-05 12:50:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

archaeologist.cpp: In function ‘void archaeologist(int, int, int, std::vector<int>, int, std::vector<int>)’:
archaeologist.cpp:36:13: error: ‘pair’ was not declared in this scope; did you mean ‘std::pair’?
36 | pair<int,vector<int>> x;
| ^~~~
| std::pair
In file included from /usr/include/c++/9/utility:70,
from archaeologist.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:208:12: note: ‘std::pair’ declared here
208 | struct pair
| ^~~~
archaeologist.cpp:36:18: error: expected primary-expression before ‘int’
36 | pair<int,vector<int>> x;
| ^~~
archaeologist.cpp:37:13: error: ‘x’ was not declared in this scope
37 | x=take_path(zeroPath);
| ^
archaeologist.cpp:42:13: error: ‘pair’ was not declared in this scope; did you mean ‘std::pair’?
42 |