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) {
int c=0;
string S = "";
string k = "ABXY";
while (c < 3) {
for (int i = 0; i < 4; ++i) {
if (c < 3) {
int coins = press(S+k[i]);
if (coins > c) {
S += k[i];
c++;
}
}
}
}
return S;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |