Submission #1009400

#TimeUsernameProblemLanguageResultExecution timeMemory
1009400megakariCombo (IOI18_combo)C++17
10 / 100
68 ms1104 KiB
#include "combo.h" using namespace std; string guess_sequence(int N) { int c=0; string S = ""; string k = "ABXY"; while (c < N) { for (int i = 0; i < 4; ++i) { if (c < N) { int coins = press(S+k[i]); if (coins > c) { S += k[i]; c++; } } } } return S; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...