# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
415133 | aris12345678 | Combo (IOI18_combo) | C++14 | 1 ms | 200 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;
const int mxN = 2005;
string guess_sequence(int n) {
string comb = "AABBXXYY";
for(int i = 0; i < (int) comb.length(); i++) {
string p;
p += comb[i];
for(int j = 0; j < (int) comb.length(); j++) {
p += comb[j];
for(int k = 0; k < (int) comb.length(); k++) {
p += comb[k];
if(press(p) == 3)
return p;
}
}
}
assert(true);
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |