Submission #220175

#TimeUsernameProblemLanguageResultExecution timeMemory
220175kshitij_sodaniCluedo (IOI10_cluedo)C++17
100 / 100
16 ms384 KiB
#include <iostream>
#include <vector>
#include <algorithm>
#include <cassert>
#include <cstdio>
#include <cluedo.h>
#include <grader.h>

using namespace std;
#define pb push_back
#define a first
#define b second
void Solve(){
	int i=1;
	int j=1;
	int k=1;
	while(true){
		int xx=Theory(i,j,k);
		if(xx==0){
			return;
		}
		if(xx==1){
			i+=1;
		}
		if(xx==2){
			j+=1;
		}
		if(xx==3){
			k+=1;
		}
	}	
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...