Submission #1206035

#TimeUsernameProblemLanguageResultExecution timeMemory
1206035isamatdinCombo (IOI18_combo)C++20
10 / 100
14 ms456 KiB
#include <bits/stdc++.h> #include "combo.h" using namespace std; string guess_sequence(int n) { string p; for (int i = 1; i <= n; i++) { p += '.'; for (char &k : (string) "ABXY") { if (k == p[0]) continue; p.back() = k; if (press(p) == i) break; } } return p; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...