Submission #494936

#TimeUsernameProblemLanguageResultExecution timeMemory
494936fusabileCluedo (IOI10_cluedo)C++17
100 / 100
13 ms284 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...