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;
typedef long long ll;
std::string guess_sequence(int N) {
string s="";
for(ll i=0; i<N; i++){
if(press(s+'A')==i+1) s+='A';
else if(press(s+'B')==i+1) s+='B';
else if(press(s+'X')==i+1) s+='X';
else s+='Y';
}
return s;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |