Submission #342090

#TimeUsernameProblemLanguageResultExecution timeMemory
342090AlmaCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include <iostream>
#include <cluedo.h>
#include <grader.h>
using namespace std;
 
int Solve (int M, int L, int W) {
    M = 1; L = 1; W = 1;
    while (Theory (M, L, W) != 0) {
        if (Theory (M, L, W) == 1) { M++; }
        else if (Theory (M, L, W) == 2) { L++; }
        else { W++; }
    }
    return Theory (M, L, W);
}

Compilation message (stderr)

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