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"
#include <bits/stdc++.h>
using namespace std;
string guess_sequence(int N) {
string currPerm = "ABXY";
do {
if (press(currPerm.substr(0, 3)) == 3) {
return currPerm.substr(0, 3);
}
} while (next_permutation(currPerm.begin(), currPerm.end()));
return "";
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |