| Problem | cave |
|---|---|
| User | chickengoat |
| Submission Time | 2026-07-18 11:01:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cave.cpp: In function ‘void exploreCave(int)’:
cave.cpp:14:21: error: cannot convert ‘ll*’ {aka ‘long long int*’} to ‘int*’
14 | if(!tryCombination(arr) {
| ^~~
| |
| ll* {aka long long int*}
In file included from cave.cpp:2:
cave.h:8:24: note: initializing argument 1 of ‘int tryCombination(int*)’
8 | int tryCombination(int S[]);
| ~~~~^~~
cave.cpp:17:12: error: expected ‘)’ before ‘;’ token
17 | ll front=0;
| ^
| )
cave.cpp:14:4: note: to match this ‘(’
14 | if(!tryCombination(arr) {
| ^
cave.cpp:18:8: error: ‘front’ was not declared in this scope
18 | while(front<N-1) {
| ^~~~~
cave.cpp:19:3: error: ‘x’ was not declared in this scope
19 | x=tryCombination(arr)
| ^
cave.cpp:19:20: error: cannot convert ‘ll*’ {aka ‘long long