# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1206032 | isamatdin | Combo (IOI18_combo) | C++20 | 19 ms | 456 KiB |
#include <bits/stdc++.h>
#include "combo.h"
using namespace std;
string guess_sequence(int n)
{
string p;
for (int i = 1; i <= n; i++)
{
p += '.';
for (char &k : (string) "ABXY")
{
p.back() = k;
if (press(p) == i)
break;
}
}
return p;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |