제출 #425214

#제출 시각아이디문제언어결과실행 시간메모리
425214Monchito콤보 (IOI18_combo)C++14
10 / 100
97 ms520 KiB
#include "combo.h" using namespace std; string guess_sequence(int N) { string p; char comb[4] = { 'A', 'B', 'X', 'Y' }; for(int i=0; i<N; i++) { p.push_back('?'); for(int j=0; j<4; j++) { p[i] = comb[j]; if(press(p) == i+1) { break; } } } return p; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...