Problem cave
User Tyx2020
Submission Time 2025-01-01 18:02:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cave.cpp: In function ‘void exploreCave(int)’:
cave.cpp:83:14: error: ‘tryCombination’ was not declared in this scope
83 | int temp = tryCombination(s), temp1;
| ^~~~~~~~~~~~~~
cave.cpp:84:31: error: ‘temp1’ was not declared in this scope; did you mean ‘temp’?
84 | if (temp == -1 or temp > i) temp1 = 0;
| ^~~~~
| temp
cave.cpp:85:8: error: ‘temp1’ was not declared in this scope; did you mean ‘temp’?
85 | else temp1 = 1;
| ^~~~~
| temp
cave.cpp:95:17: error: ‘temp1’ was not declared in this scope; did you mean ‘temp2’?
95 | if (temp2 != temp1) high = mid;
| ^~~~~
| temp2
cave.cpp:98:24: error: ‘temp1’ was not declared in this scope; did you mean ‘temp’?
98 | d[low] = i; s[low] = temp1; fics[low] = 1;
| ^~~~~
|