# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
545666 | aun5x | Combo (IOI18_combo) | C++14 | 67 ms | 440 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "combo.h"
using namespace std;
string guess_sequence(int N) {
string p = "ABXY";
string guess = "";
while (guess.size() != N)
{
for (char c: p)
{
int res = press(guess+c);
if (res - guess.size() == 1){
guess += c;
break;
}
}
}
return guess;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |