제출 #1324395

#제출 시각아이디문제언어결과실행 시간메모리
1324395riafhasan2010Combo (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...