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 "cluedo.h"
#include "grader.h"
using namespace std;
void Solve() {
int murderer = 1, location = 1, weapon = 1;
while (murderer <= 6 && location <= 10 && weapon <= 6) {
int ans = Theory(murderer, location, weapon);
if (ans == 1) ++murderer;
else if (ans == 2) ++location;
else if (ans == 3) ++weapon;
else return;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |