Problem cave
User TheAccomplice
Submission Time 2024-04-06 09:58:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cave.cpp: In function ‘void exploreCave(int)’:
cave.cpp:12:26: error: ‘tryCombination’ was not declared in this scope
12 | int closedDoor = tryCombination(switches.data());
| ^~~~~~~~~~~~~~
cave.cpp:21:26: error: ‘tryCombination’ was not declared in this scope
21 | int closedDoor = tryCombination(switches.data());
| ^~~~~~~~~~~~~~
cave.cpp:29:5: error: ‘answer’ was not declared in this scope
29 | answer(switches.data(), doors.data());
| ^~~~~~