제출 #861160

#제출 시각아이디문제언어결과실행 시간메모리
861160lalig777Cluedo (IOI10_cluedo)C++14
컴파일 에러
0 ms0 KiB
/****************************************************************************** Online C++ Compiler. Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <iostream> #include "cluedo.h" #include "grader.h" using namespace std; void solve(){ int a=1, b=1, c=1; while (true){ if (Theory(a, b, c)==1) a++; else if (Theory(a, b, c)==2) b++; else if (Theory(a, b, c)==3) c++; else break; }return; }

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

/usr/bin/ld: /tmp/ccORvgXG.o: in function `main':
grader.c:(.text.startup+0x49): undefined reference to `Solve()'
collect2: error: ld returned 1 exit status