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"
using namespace std;
void Solve() {
int ch = 1, room = 1, weapon = 1;
for (int q = 0; q < 20; q++) {
int x = Theory(ch, room, weapon);
if (x == 0) return;
if (x == 1) ch++;
if (x == 2) room++;
if (x == 3) weapon++;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |