제출 #1322758

#제출 시각아이디문제언어결과실행 시간메모리
1322758akneeka콤보 (IOI18_combo)C++20
10 / 100
21 ms444 KiB
#include <bits/stdc++.h> #include "combo.h" using namespace std; string guess_sequence(int N) { string ans = ""; string alphabet = "ABXY"; for (int pos = 0; pos < N; pos++) { for (char c : alphabet) { int r = press(ans + c); if (r == (int)ans.size() + 1) { ans += c; break; } } } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...