obstacles.cpp:3:17: error: 'st' is not a namespace-name
3 | using namespace st;
| ^~
obstacles.cpp:7:6: error: variable or field 'initialize' declared void
7 | void initialize(vector<int> T, vector<int> H) {
| ^~~~~~~~~~
obstacles.cpp:7:17: error: 'vector' was not declared in this scope
7 | void initialize(vector<int> T, vector<int> H) {
| ^~~~~~
obstacles.cpp:7:17: note: suggested alternatives:
In file included from /usr/include/c++/13/vector:66,
from obstacles.h:1,
from obstacles.cpp:1:
/usr/include/c++/13/bits/stl_vector.h:428:11: note: 'std::vector'
428 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/usr/include/c++/13/vector:86:13: note: 'std::pmr::vector'
86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
obstacles.cpp:7:24: error: expected primary-expression before 'int'
7 | void initialize(vector<int> T, vector<int> H) {
| ^~~
obstacles.cpp:7:32: error: 'vector' was not declared in this scope
7 | void initialize(vector<int> T, vector<int> H) {
| ^~~~~~
obstacles.cpp:7:32: note: suggested alternatives:
/usr/include/c++/13/bits/stl_vector.h:428:11: note: 'std::vector'
428 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/usr/include/c++/13/vector:86:13: note: 'std::pmr::vector'
86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
obstacles.cpp:7:39: error: expected primary-expression before 'int'
7 | void initialize(vector<int> T, vector<int> H) {
| ^~~
obstacles.cpp: In function 'bool can_reach(int, int, int, int)':
obstacles.cpp:12:7: error: 'T' was not declared in this scope
12 | if(!T.empty()) return true;
| ^
obstacles.cpp:13:1: warning: control reaches end of non-void function [-Wreturn-type]
13 | }
| ^