제출 #297167

#제출 시각아이디문제언어결과실행 시간메모리
297167EJOI2019Andrew콤보 (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...