Problem archaeologist
User Fosksjdkskzjskskzk
Submission Time 2025-03-07 15:15:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

archaeologist.cpp:1:1: error: ‘umNotDeadEnds’ does not name a type
1 | umNotDeadEnds = 0;
| ^~~~~~~~~~~~~
archaeologist.cpp:8:9: error: expected unqualified-id before ‘if’
8 | if(paths.size()>2){
| ^~
archaeologist.cpp:21:10: error: expected unqualified-id before ‘else’
21 | }else{
| ^~~~
archaeologist.cpp:25:9: error: expected unqualified-id before ‘if’
25 | if(paths[path2] == 1){
| ^~
archaeologist.cpp:30:9: error: expected unqualified-id before ‘if’
30 | if(paths[path1] == 1){
| ^~
archaeologist.cpp:42:10: error: expected unqualified-id before ‘else’
42 | }else{
| ^~~~
archaeologist.cpp:48:9: error: ‘setLightTo’ does not name a type
48 | setLightTo--;
| ^~~~~~~~~~
archaeologist.cpp:49:5: error: expected declaration before ‘}’ token
49 | }