제출 #949151

#제출 시각아이디문제언어결과실행 시간메모리
949151SoSmolSten콤보 (IOI18_combo)C++17
10 / 100
42 ms1452 KiB
#include "combo.h"
using namespace std;
const string combo = "ABXY";
string guess_sequence(int N) {
	string p = "";
	for(int i = 0; i < N; ++i){
		for(int j = 0; j < 4; ++j){
			p += combo[j];
			int v = press(p);
			if(v > i) break;
			p.pop_back();
		}
	}
	return p;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...