Submission #1266518

#TimeUsernameProblemLanguageResultExecution timeMemory
1266518codergCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
#include "cluedo.h"
#include <bits/stdc++.h>
#include "grader.h"
using namespace std;

void solve(){
    int i=1,j=1,k=1;
    while(true){
     int x=Theory(i,j,k);
     if(x==0)return;
     if(x==1)i++;
     if(x==2)j++;
     else k++;
    }
}

Compilation message (stderr)

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