# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
637467 | 2022-09-02T00:43:30 Z | ram | Cluedo (IOI10_cluedo) | C++14 | 0 ms | 0 KB |
#include <bits/stdc++.h> #include "cluedo.h" using namespace std; void solve() { int m = 1, l = 1, w = 1, c = -1; while (true) { c = Theory(m, l, w); if (c == 0) break; if (c == 1) m++; else if (c == 2) l++; else w++; } return; }