cave.cpp: In function 'void exploreCave(int)':
cave.cpp:10:13: error: 'll' was not declared in this scope
10 | for(ll j=0;j<N;j++){
| ^~
cave.cpp:10:20: error: 'j' was not declared in this scope
10 | for(ll j=0;j<N;j++){
| ^
cave.cpp:17:24: error: 'll' was not declared in this scope
17 | vector<ll> v;
| ^~
cave.cpp:17:17: error: 'vector' was not declared in this scope
17 | vector<ll> v;
| ^~~~~~
cave.cpp:17:17: note: suggested alternatives:
In file included from /usr/include/c++/11/vector:67,
from /usr/include/c++/11/functional:62,
from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
from cave.cpp:2:
/usr/include/c++/11/bits/stl_vector.h:389:11: note: 'std::vector'
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from /usr/include/c++/11/functional:62,
from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
from cave.cpp:2:
/usr/include/c++/11/vector:86:13: note: 'std::pmr::vector'
86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
cave.cpp:17:28: error: 'v' was not declared in this scope
17 | vector<ll> v;
| ^
cave.cpp:18:31: error: 'n' was not declared in this scope
18 | for(int j=0;j<n;j++){
| ^
cave.cpp:22:39: error: 'n' was not declared in this scope
22 | for(int j=0;j<n;j++){
| ^
cave.cpp:27:36: error: 'v1' was not declared in this scope; did you mean '__pstl::execution::v1'?
27 | vector<ll> v1,v2;
| ^~
| __pstl::execution::v1
In file included from /usr/include/c++/11/pstl/glue_algorithm_defs.h:15,
from /usr/include/c++/11/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
from cave.cpp:2:
/usr/include/c++/11/pstl/execution_defs.h:19:18: note: '__pstl::execution::v1' declared here
19 | inline namespace v1
| ^~
cave.cpp:27:39: error: 'v2' was not declared in this scope
27 | vector<ll> v1,v2;
| ^~