제출 #908734

#제출 시각아이디문제언어결과실행 시간메모리
908734Aiperiii콤보 (IOI18_combo)C++14
0 / 100
1 ms344 KiB
#include <bits/stdc++.h> #include "combo.h" using namespace std; string guess_sequence(int N) { string s=""; for(int j=0;j<N;j++){ string x=s; x+='A';x+=s;x+='B'; int res1=press(x); if(res1==j+1){ x=s;x+='A'; if(press(x)==j+1)s+='A'; else s+='B'; } else{ x=s;x+='X'; if(press(x)==j+1)s+='X'; else s+='Y'; } } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...