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"
void Solve() {
int ans_x = 0, ans_y = 0, ans_z = 0;
while (1) {
int res = Theory(ans_x, ans_y, ans_z);
if (res == 0) {
return;
}
if (res == 1) {
++ans_x;
}
if (res == 2) {
++ans_y;
}
if (res == 3) {
++ans_z;
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |