# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1099347 | mihaihvh | Cluedo (IOI10_cluedo) | C++14 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void Solve() {
int i = 1, j = 1, k = 1;
int m = Theory(i, j, k);
do {
if (m == 1)
++i;
if (m == 2)
++j;
if (m == 3)
++k;
m = Theory(i, j, k);
} while (m != 0);
return;
}