Submission #729220

#TimeUsernameProblemLanguageResultExecution timeMemory
729220NintsiChkhaidzeCluedo (IOI10_cluedo)C++17
100 / 100
13 ms208 KiB
#include <bits/stdc++.h>
using namespace std;
#include "grader.h"
#include "cluedo.h"

void Solve(){
    int l1 = 1,l2 = 1,l3 =1;
  	
  	while (1){
  		int r = Theory(l1,l2,l3);
  		if (!r) return;
  		if (r == 1) {
  			l1++;
  			continue;
		}
		if (r == 2){
			l2++;
			continue;
		}
		l3++;
		continue;
	}
	
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...