cave.cpp: In function 'void exploreCave(int)':
cave.cpp:14:32: error: cannot convert 'std::vector<int>' to 'int*'
14 | int t = tryCombination(p);
| ^
| |
| std::vector<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:21:36: error: cannot convert 'std::vector<int>' to 'int*'
21 | int d = tryCombination(pt);
| ^~
| |
| std::vector<int>
cave.h:8:24: note: initializing argument 1 of 'int tryCombination(int*)'
8 | int tryCombination(int S[]);
| ~~~~^~~