제출 #1252518

#제출 시각아이디문제언어결과실행 시간메모리
1252518bzzzzzzzzzz3개의 봉우리 (IOI25_triples)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> #include "triples.h" using namespace std; using ll = long long; std::vector<int> construct_range(int M, int K) { vector<int> v; for (int i = 0; i < M; i++) { v.push_back(2); v.push_back(1); v.push_back(2); v.push_back(3); v.push_back(3); } v.resize(M); return v; }

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

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