Problem | cave |
---|---|
User | anusha777 |
Submission Time | 2022-12-29 22:27:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cave.cpp: In function ‘void solve(int)’:
cave.cpp:23:25: error: cannot convert ‘std::vector<int>’ to ‘int*’
23 | int p= tryCombination(a);
| ^
| |
| 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:25:25: error: cannot convert ‘std::vector<int>’ to ‘int*’
25 | int q= tryCombination(a);
| ^
| |
| 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:34:9: error: cannot convert ‘std::vector<int>’ to ‘int*’