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;
using ll = long long;
string guess_sequence(int n) {
vector<string> pos = {"A", "B", "X", "Y"};
string ans = "";
int last = 0;
for(auto it : pos) {
if(press(ans+it) > last) {
ans += it;
++last;
continue;
}
}
return ans;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |