Problem archaeologist
User Fosksjdkskzjskskzk
Submission Time 2025-03-07 16:04:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

archaeologist.cpp:1:41: error: ‘std::vector’ has not been declared
1 | void archaeologist(int N, int K, int L, std::vector<int> map, int lightlevel, std::vector<int> paths) {
| ^~~
archaeologist.cpp:1:52: error: expected ‘,’ or ‘...’ before ‘<’ token
1 | void archaeologist(int N, int K, int L, std::vector<int> map, int lightlevel, std::vector<int> paths) {
| ^
archaeologist.cpp: In function ‘void archaeologist(int, int, int, int)’:
archaeologist.cpp:5:5: error: ‘set_light’ was not declared in this scope
5 | set_light(0);
| ^~~~~~~~~
archaeologist.cpp:9:7: error: ‘paths’ was not declared in this scope
9 | if (paths[0] == 0 and paths[1] == 0)
| ^~~~~
archaeologist.cpp:11:9: error: ‘pair’ is not a member of ‘std’
11 | std::pair<int, std::vector<int>> x;