제출 #684319

#제출 시각아이디문제언어결과실행 시간메모리
684319Konti2Combo (IOI18_combo)C++17
10 / 100
70 ms568 KiB
#include <bits/stdc++.h>
#include "combo.h"

using namespace std;




string guess_sequence(int N){
	   string ans = "";
	   vector<char> opcje = {'A','B','X','Y'};
	   for (int i = 1; i <= N; i++){
		   for (int j = 0; j < 4; j++){
			if (press(ans + opcje[j]) == i){
				ans += opcje[j];
				break;
			}
		}
	}
	return ans;
}
	   
	   
	   
	   

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