Problem cave
User user123
Submission Time 2024-03-11 19:41:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cave.cpp: In function ‘void open(int)’:
cave.cpp:17:9: error: ‘tryCombination’ was not declared in this scope
17 | if (tryCombination(s)>pos) ans[pos]=0;
| ^~~~~~~~~~~~~~
cave.cpp:25:15: error: ‘tryCombination’ was not declared in this scope
25 | int t=tryCombination(s);
| ^~~~~~~~~~~~~~
cave.cpp: In function ‘void exploreCave(int)’:
cave.cpp:38:5: error: ‘answer’ was not declared in this scope
38 | answer(ans, c);
| ^~~~~~