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(){
for (int i = 1; i <= 6;++i) {
bool ok1 = true;
for (int j = 1; j <= 6 && ok1;++j) {
bool ok3 = true;
for (int k = 1; k <= 10 && ok1 && ok3;++k) {
int r = Theory(i,k,j);
if(r == 1) ok1 = false;
if(r == 3) ok3 = false;
if(r == 2) break;
if(r == 0)
return;
}
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |