souvenirs.cpp: In function 'void buy_souvenirs(int, long long int)':
souvenirs.cpp:22:19: error: no matching function for call to 'std::vector<long long int>::pop_back(long long int)'
22 | total.pop_back(P0-1);
| ~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/11/vector:67,
from souvenirs.h:2,
from souvenirs.cpp:1:
/usr/include/c++/11/bits/stl_vector.h:1225:7: note: candidate: 'void std::vector<_Tp, _Alloc>::pop_back() [with _Tp = long long int; _Alloc = std::allocator<long long int>]'
1225 | pop_back() _GLIBCXX_NOEXCEPT
| ^~~~~~~~
/usr/include/c++/11/bits/stl_vector.h:1225:7: note: candidate expects 0 arguments, 1 provided