souvenirs.cpp:5:50: error: expected ';' before '>' token
5 | using pvi = std::pair<std::vector<int>, long long>>;
| ^~
| ;
souvenirs.cpp:10:6: error: variable or field 'add' declared void
10 | void add(pvi list){
| ^~~
souvenirs.cpp:10:10: error: 'pvi' was not declared in this scope
10 | void add(pvi list){
| ^~~
souvenirs.cpp: In function 'void buy_souvenirs(int, long long int)':
souvenirs.cpp:18:14: error: 'stack' is not a member of 'std'
18 | std::stack<pvi> st;
| ^~~~~
souvenirs.cpp:2:1: note: 'std::stack' is defined in header '<stack>'; did you forget to '#include <stack>'?
1 | #include "souvenirs.h"
+++ |+#include <stack>
2 | #include <utility>
souvenirs.cpp:18:20: error: 'pvi' was not declared in this scope
18 | std::stack<pvi> st;
| ^~~
souvenirs.cpp:18:25: error: 'st' was not declared in this scope; did you mean 'std'?
18 | std::stack<pvi> st;
| ^~
| std
souvenirs.cpp:21:9: error: 'add' was not declared in this scope
21 | add(st.top());
| ^~~
souvenirs.cpp:23:22: error: 'cur' was not declared in this scope
23 | pvi& cur=st.top();
| ^~~