# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1006808 | GTA | Combo (IOI18_combo) | C++17 | 0 ms | 0 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 <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;
string p += v[i];
string p += v[j];
string p += v[l];
int x = press(p);
if (x == 3) {
return p;
}
}
}
}
}