제출 #1093926

#제출 시각아이디문제언어결과실행 시간메모리
1093926Trisanu_Das마술쇼 (APIO24_show)C++17
컴파일 에러
0 ms0 KiB
#include "Alice.h"
using namespace std;
 
vector<pair<int, int>> Alice() {
    long long x = setN(5000);
    vector<pair<int,int>> tree;
    for (int i = 1; i <= 5000; i++)
        if (i != x)
            tree.push_back({i, x});
    return tree;
}

컴파일 시 표준 에러 (stderr) 메시지

/usr/bin/ld: /tmp/cc3G9c8r.o: in function `main':
grader_bob.cpp:(.text.startup+0x324): undefined reference to `Bob(std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >)'
collect2: error: ld returned 1 exit status