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 <bits/stdc++.h>
#include "combo.h"
using namespace std;
#define fr(m,n,k) for(int m=n;m<=k;m++)
int n;
string guess_sequence(int N) {
string v = "ABXY";
fr(i, 0, 3) {
fr(j, 0, 3) {
fr(l, 0, 3) {
string p;
p += v[i];
p += v[j];
p += v[l];
int x = press(p);
if (x == 3) {
return p;
}
}
}
}
return "";
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |