railroad.cpp:3:31: error: 'long long int plan_roller_coaster' redeclared as different kind of entity
3 | long long plan_roller_coaster(vector<int> s, vector<int> t) {
| ^~~~~~
In file included from railroad.cpp:1:
railroad.h:5:11: note: previous declaration 'long long int plan_roller_coaster(std::vector<int>, std::vector<int>)'
5 | long long plan_roller_coaster(std::vector<int> s, std::vector<int> t);
| ^~~~~~~~~~~~~~~~~~~
railroad.cpp:3:31: error: 'vector' was not declared in this scope
3 | long long plan_roller_coaster(vector<int> s, vector<int> t) {
| ^~~~~~
railroad.cpp:3:31: note: suggested alternatives:
In file included from /usr/include/c++/9/vector:67,
from railroad.h:3,
from railroad.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: 'std::vector'
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from railroad.h:3,
from railroad.cpp:1:
/usr/include/c++/9/vector:90:13: note: 'std::pmr::vector'
90 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
railroad.cpp:3:38: error: expected primary-expression before 'int'
3 | long long plan_roller_coaster(vector<int> s, vector<int> t) {
| ^~~
railroad.cpp:3:46: error: 'vector' was not declared in this scope
3 | long long plan_roller_coaster(vector<int> s, vector<int> t) {
| ^~~~~~
railroad.cpp:3:46: note: suggested alternatives:
In file included from /usr/include/c++/9/vector:67,
from railroad.h:3,
from railroad.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: 'std::vector'
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from railroad.h:3,
from railroad.cpp:1:
/usr/include/c++/9/vector:90:13: note: 'std::pmr::vector'
90 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
railroad.cpp:3:53: error: expected primary-expression before 'int'
3 | long long plan_roller_coaster(vector<int> s, vector<int> t) {
| ^~~