Submission #687805

#TimeUsernameProblemLanguageResultExecution timeMemory
687805grossly_overconfidentCluedo (IOI10_cluedo)C++17
100 / 100
14 ms296 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
void Solve(){
	int person = 1;
	int location = 1;
	int weapon = 1;
	while (true) {
		int r = Theory(person, location, weapon);
		if (r == 0) {
			break;
		}
		if (r == 1) {
			person++;
		}
		if (r == 2) {
			location++;
		}
		if (r == 3) {
			weapon++;
		}
	}
	return;

   
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...