제출 #1009398

#제출 시각아이디문제언어결과실행 시간메모리
1009398megakari콤보 (IOI18_combo)C++17
5 / 100
43 ms344 KiB
#include "combo.h" using namespace std; string guess_sequence(int N) { int c=0; string S = ""; string k = "ABXY"; while (c < 3) { for (int i = 0; i < 4; ++i) { if (c < 3) { int coins = press(S+k[i]); if (coins > c) { S += k[i]; c++; } } } } return S; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...