제출 #274906

#제출 시각아이디문제언어결과실행 시간메모리
274906ec1117Cluedo (IOI10_cluedo)C++17
컴파일 에러
0 ms0 KiB
#include "bits/stdc++.h"
#include "grader.h"
#include "memory.h"
using namespace std;
int t;

void solve() {
    int a=0;
    int b=0;
    int c=0;
    while(true){
        int tmp=Theory(a,b,c);
        if(tmp==0){
            break;
        }
        else if(tmp==1){
            a++;
        }
        else if(tmp==2){
            b++;
        }
        else{
            c++;
        }
    }
}

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

/tmp/ccgMX0YK.o: In function `main':
grader.c:(.text.startup+0x31): undefined reference to `Solve()'
collect2: error: ld returned 1 exit status