제출 #1345581

#제출 시각아이디문제언어결과실행 시간메모리
1345581FaresSTH3개의 봉우리 (IOI25_triples)C++20
컴파일 에러
0 ms0 KiB
#include"bits/stdc++.h"
using namespace std;
using ll=long long;
#define S second
#define F first
vector<int>construct_range(int n,int k){
	vector<int>res(n);
	for(int i=0;i<n;i++)res[i]=i%2+1;
	return res;
}

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

/usr/bin/ld: /tmp/ccpUwHjT.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