books.cpp:1:29: error: 'vector' is not a member of 'std'
1 | long long minimum_walk(std::vector<int> p, int s) {
| ^~~~~~
books.cpp:1:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
+++ |+#include <vector>
1 | long long minimum_walk(std::vector<int> p, int s) {
books.cpp:1:36: error: expected primary-expression before 'int'
1 | long long minimum_walk(std::vector<int> p, int s) {
| ^~~
books.cpp:1:44: error: expected primary-expression before 'int'
1 | long long minimum_walk(std::vector<int> p, int s) {
| ^~~
books.cpp:1:49: error: expression list treated as compound expression in initializer [-fpermissive]
1 | long long minimum_walk(std::vector<int> p, int s) {
| ^