souvenirs.cpp: In function 'void buy_souvenirs(int, long long int)':
souvenirs.cpp:3:9: error: 'transaction' was not declared in this scope
3 | transaction(P0 - 1);
| ^~~~~~~~~~~
souvenirs.cpp:6:14: error: 'pair' is not a member of 'std'
6 | std::pair<std::vector<int>, long long> result;
| ^~~~
souvenirs.cpp:1:1: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
+++ |+#include <utility>
1 | void buy_souvenirs(int N, long long P0){
souvenirs.cpp:6:24: error: 'vector' is not a member of 'std'
6 | std::pair<std::vector<int>, long long> result;
| ^~~~~~
souvenirs.cpp:1:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
+++ |+#include <vector>
1 | void buy_souvenirs(int N, long long P0){
souvenirs.cpp:6:31: error: expected primary-expression before 'int'
6 | std::pair<std::vector<int>, long long> result;
| ^~~
souvenirs.cpp:7:9: error: 'result' was not declared in this scope
7 | result = transation(P0 - 1);
| ^~~~~~
souvenirs.cpp:7:18: error: 'transation' was not declared in this scope
7 | result = transation(P0 - 1);
| ^~~~~~~~~~
souvenirs.cpp:9:13: error: 'transaction' was not declared in this scope
9 | transaction(((P0 - 1) - result.second) - 1);
| ^~~~~~~~~~~
souvenirs.cpp:12:13: error: 'transaction' was not declared in this scope
12 | transaction((P0 - 1)/2);
| ^~~~~~~~~~~