# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1226858 | 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) {
for (char c : {'A', 'B', 'X', 'Y'}) {
ans.push_back(c);
if (press(ans))
break;
ans.pop_back();
}
}
return ans;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |