제출 #1294159

#제출 시각아이디문제언어결과실행 시간메모리
1294159Math4Life20203개의 봉우리 (IOI25_triples)C++20
컴파일 에러
0 ms0 KiB
#include "triples.h"
#include <bits/stdc++.h>
using namespace std;
using ll = long long; using pii = pair<ll,ll>;

vector<int> construct_range(int M, int K) {
    ll N = M;
    vector<int> vf;
    vf.push_back(1);
    for (ll i=1;i<N;i++) {
        vf.push_back(i);
    }
    return vf;
}

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

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