# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1226851 | fauntleroy | 콤보 (IOI18_combo) | C++20 | 0 ms | 408 KiB |
#include <bits/stdc++.h>
#include "combo.h"
using namespace std;
string guess_sequence(int n) {
string ans;
for (int i = 0; i < n; ++i) {
if (press(ans + "A"))
ans.push_back('A');
if (press(ans + "B"))
ans.push_back('B');
if (press(ans + "X"))
ans.push_back('X');
if (press(ans + "Y"))
ans.push_back('Y');
}
return ans;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |