# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
160286 | MarcoMendoza1 | Combo (IOI18_combo) | C++14 | 3 ms | 268 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 r="",aux;
char arr[4];
string guess_sequence(int n){
int ax1=press("AB");
if(ax1==1){
arr[1]='X';
arr[3]='Y';
if(press("A")){
arr[2]='B';
r="A";
}else{
arr[2]='A';
r="B";
}
}else if(ax1==0){
arr[1]='A';
arr[2]='B';
if(press("X")){
arr[3]='Y';
r="X";
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |