Problem cave
User Henries
Submission Time 2025-02-06 17:07:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cave.cpp: In function ‘void exploreCave(int)’:
cave.cpp:55:17: error: ‘l’ was not declared in this scope
55 | for (int s = l; s <= mid; s++) {
| ^
cave.cpp:85:1: error: expected ‘}’ at end of input
85 | }
| ^
cave.cpp:4:25: note: to match this ‘{’
4 | void exploreCave(int N) {
| ^