# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
883298 | klee | Cluedo (IOI10_cluedo) | C++14 | 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.
#ifdef __cplusplus
extern "C" {
#endif
int Theory(int M, int L, int W);
void Solve();
#ifdef __cplusplus
}
#endif
// TODO: global variables can be declared here
void Solve() {
int r = -1; int m = 1; int l = 1; int w = 1;
r = Theory(m,l,w);
while (r > 0) {
if (r == 1) m++;
if (r == 2) l++;
if (r == 3) w++;
r = Theory(m,l,w);
}
}