# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
342090 |
2021-01-01T10:59:47 Z |
Alma |
Cluedo (IOI10_cluedo) |
C++14 |
|
0 ms |
0 KB |
#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
/tmp/ccivyB41.o: In function `main':
grader.c:(.text.startup+0x49): undefined reference to `Solve()'
collect2: error: ld returned 1 exit status