| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1322758 | akneeka | Combo (IOI18_combo) | C++20 | 21 ms | 444 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 time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
