제출 #1020750

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