제출 #1250539

#제출 시각아이디문제언어결과실행 시간메모리
1250539amongus_pvp선물 (IOI25_souvenirs)C++20
컴파일 에러
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);
}

컴파일 시 표준 에러 (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