Submission #511120

#TimeUsernameProblemLanguageResultExecution timeMemory
511120bebecanvasCombo (IOI18_combo)C++14
10 / 100
80 ms532 KiB
#include "combo.h" std::string guess_sequence(int N) { std::string p = ""; int count=0; std::string lol= "ABXY"; while(true){ for(int i=0; i<4; i++){ std::string t= p+ lol[i]; int c= press(t); if(c>count){ p= t; count++; break; } } if(count==N){break;} } return p; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...