제출 #285371

#제출 시각아이디문제언어결과실행 시간메모리
285371Pichon5콤보 (IOI18_combo)C++17
10 / 100
116 ms668 KiB
#include "combo.h" #include <bits/stdc++.h> using namespace std; string guess_sequence(int N){ char arr[4]={'A','B','X','Y'}; string s="",ss; for(int i=1;i<=N;i++){ for(int l=0;l<4;l++){ ss=s; ss+=arr[l]; if(press(ss)==i){ s=ss; break; } } } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...