Submission #1324395

#TimeUsernameProblemLanguageResultExecution timeMemory
1324395riafhasan2010콤보 (IOI18_combo)C++17
10 / 100
21 ms436 KiB
#include "combo.h" using namespace std; std::string guess_sequence(int N) { string s, p = "", alpha = "ABXY"; for (int i = 0; i < N; i++) { p += 'A'; for (int j = 0; j < 4; j++) { p[i] = alpha[j]; if (press(p) == i + 1) { s = p; break; } } } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...