Submission #592115

#TimeUsernameProblemLanguageResultExecution timeMemory
592115ttamx콤보 (IOI18_combo)C++14
0 / 100
1 ms256 KiB
#include "combo.h" std::string guess_sequence(int N) { std::string S = ""; int tmp=0; char c[4]={'A','B','C','D'}; for (int i = 0; i < N; ++i) { for(int j=0;j<4;++j){ if(press(S+c[j])>tmp){ ++tmp; S+=c[j]; break; } } } return S; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...