Submission #1243484

#TimeUsernameProblemLanguageResultExecution timeMemory
1243484sigmaCombo (IOI18_combo)C++20
0 / 100
0 ms408 KiB
#include <bits/stdc++.h> int press(std::string p); std::string guess_sequence(int N) { std::string s = ""; std::string x = "abxy"; for (int i = 0; i < N; i++) { for (int j = 0; j < 4; j++) { s.push_back(x[j]); if (press(s) == i+1) break; else s.pop_back(); } } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...