souvenirs.cpp: In function 'void buy_souvenirs(int, long long int)':
souvenirs.cpp:8:12: error: 'transiction' was not declared in this scope; did you mean 'transaction'?
8 | if(N==2){transiction P0-1;}else
| ^~~~~~~~~~~
| transaction
souvenirs.cpp:15:2: error: expected '}' at end of input
15 | }
| ^
souvenirs.cpp:9:20: note: to match this '{'
9 | if(P0 == N){
| ^
souvenirs.cpp:15:2: error: expected '}' at end of input
15 | }
| ^
souvenirs.cpp:6:41: note: to match this '{'
6 | void buy_souvenirs(int N, long long P0) {
| ^