제출 #1085031

#제출 시각아이디문제언어결과실행 시간메모리
1085031Staheos콤보 (IOI18_combo)C++14
10 / 100
47 ms1440 KiB
#include <string> #include "combo.h" using namespace std; string guess_sequence(int N) { string p = ""; for (int i = 0; i < N; i++) { p = p + 'A'; int m = press(p); if (m > i) { continue; } p[i] = 'B'; m = press(p); if (m > i) { continue; } p[i] = 'X'; m = press(p); if (m > i) { continue; } p[i] = 'Y'; } return p; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...