# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
341218 | BlancaHM | 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.
void Solve() {
int asesino = 1;
int arma = 1;
int lugar = 1;
int pista;
while(true) {
pista = Theory(asesino, lugar, arma);
if (pista == 0)
return;
else if (pista == 1)
asesino++;
else if (pista == 2)
lugar++;
else
arma++;
}
}