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 tab[4]={"A","B","X","Y"};
string ans="";
for(int y=0;y<3;y++)
{
for(int x=0;x<4;x++)
{
if(press(tab[x])==y+1)
{
ans+=tab[x];
break;
}
}
}
return ans;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |