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 "grader.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);
	}
}
| # | Verdict  | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict  | Execution time | Memory | Grader output | 
|---|
| Fetching results... |