books.cpp:30:36: error: wrong number of template arguments (0, should be at least 1)
30 | long long minimum_walk(std::vector<> p, int s) {
| ^
In file included from /usr/include/c++/10/vector:67,
from books.h:1,
from books.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: provided for 'template<class _Tp, class _Alloc> class std::vector'
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
books.cpp: In function 'long long int minimum_walk(int, int)':
books.cpp:31:8: error: request for member 'size' in 'p', which is of non-class type 'int'
31 | n = p.size();int
| ^~~~
books.cpp:32:2: error: expected unqualified-id before 'for'
32 | for(int i = 0 ; i < n ; i ++){
| ^~~
books.cpp:32:18: error: 'i' was not declared in this scope
32 | for(int i = 0 ; i < n ; i ++){
| ^