cave.cpp: In function 'void exploreCave(int)':
cave.cpp:15:24: error: 'll' was not declared in this scope
15 | vector<ll> v;
| ^~
cave.cpp:15:26: error: template argument 1 is invalid
15 | vector<ll> v;
| ^
cave.cpp:15:26: error: template argument 2 is invalid
cave.cpp:16:31: error: 'n' was not declared in this scope
16 | for(int j=0;j<n;j++){
| ^
cave.cpp:17:39: error: request for member 'push_back' in 'v', which is of non-class type 'int'
17 | if(c[j]==0) v.push_back(j);
| ^~~~~~~~~
cave.cpp:19:25: error: request for member 'size' in 'v', which is of non-class type 'int'
19 | while(v.size()>1){
| ^~~~
cave.cpp:20:39: error: 'n' was not declared in this scope
20 | for(int j=0;j<n;j++){
| ^
cave.cpp:25:34: error: template argument 2 is invalid
25 | vector<ll> v1,v2;
| ^
cave.cpp:26:33: error: request for member 'size' in 'v', which is of non-class type 'int'
26 | int u=v.size();
| ^~~~
cave.cpp:28:36: error: request for member 'push_back' in 'v1', which is of non-class type 'int'
28 | v1.push_back(v[j]);
| ^~~~~~~~~
cave.cpp:28:47: error: invalid types 'int[int]' for array subscript
28 | v1.push_back(v[j]);
| ^
cave.cpp:29:36: error: invalid types 'int[int]' for array subscript
29 | s[v[j]]=(1-t);
| ^
cave.cpp:32:36: error: request for member 'push_back' in 'v2', which is of non-class type 'int'
32 | v2.push_back(v[j]);
| ^~~~~~~~~
cave.cpp:32:47: error: invalid types 'int[int]' for array subscript
32 | v2.push_back(v[j]);
| ^
cave.cpp:33:36: error: invalid types 'int[int]' for array subscript
33 | s[v[j]]=(1-t);
| ^
cave.cpp:39:21: error: request for member 'back' in 'v', which is of non-class type 'int'
39 | c[v.back()]=1;
| ^~~~
cave.cpp:40:21: error: request for member 'back' in 'v', which is of non-class type 'int'
40 | a[v.back()]=t;
| ^~~~
cave.cpp:41:21: error: request for member 'back' in 'v', which is of non-class type 'int'
41 | b[v.back()]=i;
| ^~~~