Submission #866274

#TimeUsernameProblemLanguageResultExecution timeMemory
866274lomtaCluedo (IOI10_cluedo)C++17
100 / 100
7 ms596 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;

void Solve(){
	int a=1,b=1,c=1;
	
   int r=1;
   while(r!=0){
   		r = Theory(a,b,c);
   		if(r==1){
   			a++;
		}
		if(r==2){
			b++;
		}
		if(r==3){
			c++;
		}
   }
   if(r==0){
   		return;
   }
  	return;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...