Submission #1222743

#TimeUsernameProblemLanguageResultExecution timeMemory
1222743colossal_pepeCombo (IOI18_combo)C++20
5 / 100
0 ms396 KiB
#include "combo.h" using namespace std; const string DICT = "ABXY"; string guess_sequence(int N) { if (N != 3) return ""; string p = ""; for (int i = 0; i < N; i++) { for (char c : DICT) { p.push_back(c); if (press(p) == i + 1) break; p.pop_back(); } } return p; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...