Submission #1250539

#TimeUsernameProblemLanguageResultExecution timeMemory
1250539amongus_pvpSouvenirs (IOI25_souvenirs)C++20
Compilation error
0 ms0 KiB
#include "souvenirs.h"
#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)

/usr/bin/ld: /tmp/ccvpYzYG.o: in function `main':
stub.cpp:(.text.startup+0x99): undefined reference to `buy_souvenirs(int, long long)'
collect2: error: ld returned 1 exit status