Submission #1041149

#TimeUsernameProblemLanguageResultExecution timeMemory
1041149kheiraCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include "cluedo.h" #include "grader.h" using namespace std; void solve() { int M = 1; int L = 1; int W = 1; while (true) { int result = Theory(M, L, W); if (result == 0) { return; } else if (result == 1) { M++; } else if (result == 2) { L++; } else if (result == 3) { W++; } if (M > 6) M = 1; if (L > 10) L = 1; if (W > 6) W = 1; } return; }

Compilation message (stderr)

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