| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 494935 | fusabile | 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 LOCAL
#include "dbg.h"
#else
#define dbg(...)
#endif
#define sz(s) (int)(s).size()
#define all(x) (x).begin(), (x).end()
#include "cluedo.h"
typedef long long ll;
void Solve()
{
	int a = 1, b = 1, c = 1;
	while (1)
	{
		int x = Theory(a, b, c);
		if (!x) return;
		a += (x == 1);
		b += (x == 2);
		c += (x == 3);
	}
}
