Submission #1020750

#TimeUsernameProblemLanguageResultExecution timeMemory
1020750marizaCombo (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...