Submission #738808

#TimeUsernameProblemLanguageResultExecution timeMemory
738808raul2008487Combo (IOI18_combo)C++17
10 / 100
65 ms556 KiB
#include "combo.h" std::string guess_sequence(int N) { std::string query=""; int cc=1; while(cc<=N){ if(press(query+'A')==cc){ query+='A'; } else if(press(query+'B')==cc){ query+='B'; } else if(press(query+'X')==cc){ query+='X'; } else{ query+='Y'; } cc++; } return query; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...