Submission #1020740

#TimeUsernameProblemLanguageResultExecution timeMemory
1020740marizaCombo (IOI18_combo)C++14
10 / 100
48 ms852 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')==i+1) s+='A'; else if(press(s+'B')==i+1) 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...