| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 908734 | Aiperiii | Combo (IOI18_combo) | C++14 | 1 ms | 344 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;
string guess_sequence(int N) {
string s="";
for(int j=0;j<N;j++){
string x=s;
x+='A';x+=s;x+='B';
int res1=press(x);
if(res1==j+1){
x=s;x+='A';
if(press(x)==j+1)s+='A';
else s+='B';
}
else{
x=s;x+='X';
if(press(x)==j+1)s+='X';
else s+='Y';
}
}
return s;
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
