Problem archaeologist
User Reverberate
Submission Time 2024-03-09 18:43:25
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:40:14: error: ‘path’ was not declared in this scope; did you mean ‘std::filesystem::__cxx11::path’?
40 | set_light(path[v]-1);
| ^~~~
| std::filesystem::__cxx11::path
In file included from /usr/include/c++/9/filesystem:37,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:129,
from archaeologist.cpp:1:
/usr/include/c++/9/bits/fs_path.h:68:9: note: ‘std::filesystem::__cxx11::path’ declared here
68 | class path
| ^~~~