# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
341948 | Alma | 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.
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <iomanip>
#include <string>
using namespace std;
void solve () {
int M = 1; int L = 1; int W = 1;
while (theory (M, L, W) != 0) {
if (theory (M, L, W) == 1) { M++; }
else if (theory (M, L, W) == 2) { L++; }
else { W++; }
}
cout << "(" << M << ", " << L << ", " << W << ")" << endl;
}
int main() {
solve();
}