cave.cpp: In function 'void exploreCave(int)':
cave.cpp:14:37: error: cannot convert 'long long int*' to 'int*'
   14 |                 ll x=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:17:17: error: 'vector' was not declared in this scope
   17 |                 vector<ll> v;
      |                 ^~~~~~
cave.cpp:2:12: error: expected primary-expression before 'long'
    2 | #define ll long long
      |            ^~~~
cave.cpp:17:24: note: in expansion of macro 'll'
   17 |                 vector<ll> v;
      |                        ^~
cave.cpp:18:30: error: 'n' was not declared in this scope
   18 |                 for(ll j=0;j<n;j++){
      |                              ^
cave.cpp:19:37: error: 'v' was not declared in this scope
   19 |                         if(c[j]==0) v.pb(j);
      |                                     ^
cave.cpp:21:23: error: 'v' was not declared in this scope
   21 |                 while(v.size()>1){
      |                       ^
cave.cpp:22:38: error: 'n' was not declared in this scope
   22 |                         for(ll j=0;j<n;j++){
      |                                      ^
cave.cpp:2:12: error: expected primary-expression before 'long'
    2 | #define ll long long
      |            ^~~~
cave.cpp:27:32: note: in expansion of macro 'll'
   27 |                         vector<ll> v1,v2;
      |                                ^~
cave.cpp:30:33: error: 'v1' was not declared in this scope
   30 |                                 v1.pb(v[j]);
      |                                 ^~
cave.cpp:34:33: error: 'v2' was not declared in this scope
   34 |                                 v2.pb(v[j]);
      |                                 ^~
cave.cpp:37:42: error: cannot convert 'long long int*' to 'int*'
   37 |                         x=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:38:44: error: 'v1' was not declared in this scope
   38 |                         if(x==-1 || x>i) v=v1;
      |                                            ^~
cave.cpp:39:32: error: 'v2' was not declared in this scope
   39 |                         else v=v2;
      |                                ^~
cave.cpp:41:19: error: 'v' was not declared in this scope
   41 |                 c[v.back()]=1;
      |                   ^
cave.cpp:50:16: error: cannot convert 'long long int*' to 'int*'
   50 |         answer(s,k);
      |                ^
      |                |
      |                long long int*
In file included from cave.cpp:1:
cave.h:9:17: note:   initializing argument 1 of 'void answer(int*, int*)'
    9 | void answer(int S[], int D[]);
      |             ~~~~^~~