Submission #598303

#TimeUsernameProblemLanguageResultExecution timeMemory
598303acatmeowmeowCluedo (IOI10_cluedo)C++11
100 / 100
12 ms208 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>

using namespace std;

#define int long long 

void Solve() {
	int x = 1, y = 1, z = 1;
	while (true) {
		int p = Theory(x, y, z);
		if (!p) return;
		else if (p == 1) x++;
		else if (p == 2) y++;
		else z++;
	}
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...