| Problem | cave |
|---|---|
| User | JoshJuice |
| Submission Time | 2025-12-19 15:45:47 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cave.cpp: In function ‘void exploreCave(int)’:
cave.cpp:17:40: error: cannot convert ‘std::vector<int>’ to ‘int*’
17 | int firstClosed = tryCombination(test);
| ^~~~
| |
| std::vector<int>
In file included from cave.cpp:1:
cave.h:8:24: note: initializing argument 1 of ‘int tryCombination(int*)’
8 | int tryCombination(int S[]);
| ~~~~^~~
cave.cpp:31:31: error: cannot convert ‘std::vector<int>’ to ‘int*’
31 | int res0 = tryCombination(S);
| ^
| |
| std::vector<int>
In file included from cave.cpp:1:
cave.h:8:24: note: initializing argument 1 of ‘int tryCombination(int*)’
8 | int tryCombination(int S[]);
|