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 "combo.h"
#include <bits/stdc++.h>
using namespace std;
string guess_sequence(int N)
{
string arr="XXXXXYXXAXXBXYXXYYXYAXYBXAXXAYXAAXABXBXXBYXBAXBBYXXYXYYXAYXBYYXYYYYYAYYBYAXYAYYAAYABYBXYBYYBAYBBAXXAXYAXAAXBAYXAYYAYAAYBAAXAAYAAAAABABXABYABAABBBXXBXYBXABXBBYXBYYBYABYBBAXBAYBAABABBBXBBYBBABBB";
for(int i=0; i<61; ++i)
{
if(press(arr.substr(i,3))==3)
return arr.substr(i,3);
}
return "";
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |