# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
508682 | tabr | Cluedo (IOI10_cluedo) | C++17 | 0 ms | 0 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 <bits/stdc++.h>
using namespace std;
#ifdef tabr
#include "library/debug.cpp"
#else
#define debug(...)
#endif
void Solve() {
int x = 1;
int y = 1;
int z = 1;
while (true) {
int res = Theory(x, y, z);
if (res == 0) {
break;
} else if (res == 1) {
x++;
} else if (res == 2) {
y++;
} else {
z++;
}
}
}