# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
234041 | Binyomin | Combo (IOI18_combo) | C++14 | 85 ms | 576 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) {
vector < char > a = { 'A', 'B', 'X', 'Y' } ;
char x ;
string ans = "", p = "";
int cnt = 1, ok = 1 ;
if( press("AB") ) {
if( press("A") ) {
ok =1 ;
ans ="A";
x = 'A';
}
else {
ok =1 ;
ans ="B";
x = 'B';
}
}
else {
if( press("X") ) {
ok =1 ;
ans ="X";
x = 'X';
}
else{
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |