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 "grader.h"
#include "cluedo.h"
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++;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |