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"
#include <bits/stdc++.h>
void Solve(){
int person = 1;
int location = 1;
int weapon = 1;
while (true) {
int r = Theory(person, location, weapon);
if (r == 0) {
break;
}
if (r == 1) {
person++;
}
if (r == 2) {
location++;
}
if (r == 3) {
weapon++;
}
}
return;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |