Submission #1250538

#TimeUsernameProblemLanguageResultExecution timeMemory
1250538amongus_pvpSouvenirs (IOI25_souvenirs)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; void buy_souveniers(int N, long long P0){ // SINCE N = 2 // we know we have item P[0] and P[1] // we already know the price of P[0] // just do a transaction of coins P[0] - 1 transaction(P0 - 1); }

Compilation message (stderr)

souvenirs.cpp: In function 'void buy_souveniers(int, long long int)':
souvenirs.cpp:8:5: error: 'transaction' was not declared in this scope
    8 |     transaction(P0 - 1);
      |     ^~~~~~~~~~~