Submission #297167

#TimeUsernameProblemLanguageResultExecution timeMemory
297167EJOI2019AndrewCombo (IOI18_combo)C++14
0 / 100
1 ms200 KiB
#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+=3) { if(press(arr.substr(i,3))==3) return arr.substr(i,3); } return ""; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...