제출 #1009400

#제출 시각아이디문제언어결과실행 시간메모리
1009400megakari콤보 (IOI18_combo)C++17
10 / 100
68 ms1104 KiB
#include "combo.h" using namespace std; string guess_sequence(int N) { int c=0; string S = ""; string k = "ABXY"; while (c < N) { for (int i = 0; i < 4; ++i) { if (c < N) { 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...