| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1369335 | norrawichzzz | Combo (IOI18_combo) | C++20 | 15 ms | 492 KiB |
#include "combo.h"
#include <bits/stdc++.h>
using namespace std;
string guess_sequence(int N) {
vector<char> guess = {'A', 'B', 'X', 'Y'};
string S = "";
for (int i = 0; i < N; ++i) {
for (auto x : guess) {
string cur = S+x;
if (press(cur) == i+1) {
S=cur;
break;
}
}
}
return S;
}
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
