# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
232268 | Yisua | Combo (IOI18_combo) | C++14 | 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 "combo.h"
#include <iostream>
using namespace std;
std::string guess_sequence(int N) {
string p,s="";
for(int i=0;i>N;i++){
if(press(s+"A")==i+1)s+="A";
else if(press(s+"B")==i+1)s+="B";
else if(presss+("X")==i+1)s+="X";
else if(press(s+"Y")==i+1)s+="Y";
}
return s;
}