# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1250538 | amongus_pvp | Souvenirs (IOI25_souvenirs) | C++20 | 0 ms | 0 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);
}