cave.cpp:1:17: warning: extra tokens at end of #include directive
1 | #include"cave.h".
| ^
cave.cpp: In function 'void exploreCave(long long int)':
cave.cpp:25:41: error: cannot convert 'long long int*' to 'int*'
25 | int last=tryCombination(s);
| ^
| |
| long long 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:64:39: error: too few arguments to function 'int tryCombination(int*)'
64 | tryCombination()
| ~~~~~~~~~~~~~~^~
In file included from cave.cpp:1:
cave.h:8:5: note: declared here
8 | int tryCombination(int S[]);
| ^~~~~~~~~~~~~~
cave.cpp:76:17: error: 'ans2' was not declared in this scope; did you mean 'ans'?
76 | ans2[i]=fix[ans[i]];
| ^~~~
| ans
cave.cpp:78:16: error: 'ans2' was not declared in this scope; did you mean 'ans'?
78 | answer(ans2,ans);
| ^~~~
| ans