제출 #1090335

#제출 시각아이디문제언어결과실행 시간메모리
1090335Alihan_8Cluedo (IOI10_cluedo)C++17
100 / 100
7 ms344 KiB
#include "grader.h"
#include "cluedo.h"

#include <bits/stdc++.h>

using namespace std;

int qry(int a, int b, int c){
	return Theory(a, b, c);
}

void Solve(){
	int a = 1, b = 1, c = 1, q;
	
	while ( (q = qry(a, b, c)) ){
		if ( q == 1 ) a++;
		else if ( q == 2 ) b++;
		else c++;
	}
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...