cave.cpp: In function 'void exploreCave(int)':
cave.cpp:12:5: error: 'queue' was not declared in this scope
12 | queue <int> q;
| ^~~~~
cave.cpp:12:12: error: expected primary-expression before 'int'
12 | queue <int> q;
| ^~~
cave.cpp:17:9: error: 'tryCombination' was not declared in this scope
17 | cr1=tryCombination(v);
| ^~~~~~~~~~~~~~
cave.cpp:29:47: error: 'min' was not declared in this scope
29 | if ((cr2!=i && cr1!=i) || cr2==cr1){l=min(r,md+1);}
| ^~~
cave.cpp:42:5: error: 'answer' was not declared in this scope
42 | answer(v,d);
| ^~~~~~