# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
203390 | 0gnjen | Combo (IOI18_combo) | C++14 | 3 ms | 276 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;
std::string guess_sequence(int N)
{
//cout << N << endl;
string s = "";
string c = "ABXY";
if(press("AB"))
{
if(press("A"))
{
s += 'A';
c = "BXY";
}
else
{
s += 'B';
c = "AXY";
}
}
else
{
if(press("X"))
{
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |