제출 #1350022

#제출 시각아이디문제언어결과실행 시간메모리
1350022ra4oCluedo (IOI10_cluedo)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>
#define int long long
#define endl '\n'
#include "grader.h"
#include "cluedo.h"
using namespace std;
void speed()
{
    ios_base :: sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
}
void Solve()
{
    int arr[3] = {1, 1, 1};
    while(true)
    {
        int q = Theory(arr[0], arr[1], arr[2]);
        if(q == 0)
          return;
        arr[q - 1]++;
    }
}

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

/usr/bin/ld: /tmp/ccmNJlhW.o: in function `Solve()':
cluedo.cpp:(.text+0x85): undefined reference to `Theory(long long, long long, long long)'
collect2: error: ld returned 1 exit status