제출 #111423

#제출 시각아이디문제언어결과실행 시간메모리
111423SegtreeKoala Game (APIO17_koala)C++14
컴파일 에러
0 ms0 KiB
#include<iostream> #include<algorithm> #include"koala.h" using namespace std; typedef long long ll; int B[110],R[110]; int minValue(int N,int W){ for(int i=1;i<N;i++){B[i]=0;} B[0]=1; playRound(B,R); for(int i=0;i<N;i++){ if(R[i]==0)return i; } return -1; } int maxValue(int N,int W){ return -1; } int greaterValue(int N,int W){ return -1; } void allValues(int N,int W,int P){ } /* int main(){ return 0; }*/

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

/tmp/cculUumb.o: In function `runGame(int)':
grader.cpp:(.text+0x16b): undefined reference to `allValues(int, int, int*)'
collect2: error: ld returned 1 exit status