| Problem | cave |
|---|---|
| User | tomo31415 |
| Submission Time | 2026-03-07 16:34:03 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cave.cpp: In function ‘void exploreCave(int)’:
cave.cpp:12:9: error: redeclaration of ‘int i’
12 | int i = 0;
| ^
cave.cpp:6:9: note: ‘int i’ previously declared here
6 | int i = 0;
| ^
cave.cpp:16:20: error: array must be initialized with a brace-enclosed initializer
16 | int s[i] = 1;
| ^