# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
312827 | zwliew | Cluedo (IOI10_cluedo) | C++17 | 11 ms | 384 KiB |
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() {
// bool murderer[7], location[11], weapon[7];
// for (int i = 0; i < 7; ++i) {
// murderer[i] = false;
// weapon[i] = false;
// location[i] = false;
// }
// for (int i = 7; i < 11; ++i) {
// location[i] = false;
// }
int i = 1, j = 1, k = 1;
int idx;
while (idx = Theory(i, j, k)) {
if (idx == 1) {
++i;
} else if (idx == 2) {
++j;
} else {
++k;
}
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |