Problem archaeologist
User Minhanh
Submission Time 2023-03-12 14:36:22
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:10:23: error: ‘path’ was not declared in this scope; did you mean ‘paths’?
10 | for(long i = 0;i<=path.size();i++){
| ^~~~
| paths
archaeologist.cpp:15:13: error: ‘setlight’ was not declared in this scope; did you mean ‘set_light’?
15 | setlight(1);
| ^~~~~~~~
| set_light
archaeologist.cpp:16:20: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
16 | return 0;
| ^