제출 #729426

#제출 시각아이디문제언어결과실행 시간메모리
729426t6twotwoCombo (IOI18_combo)C++17
10 / 100
77 ms556 KiB
#include "combo.h" #include <bits/stdc++.h> using namespace std; string T[4] = {"A", "B", "X", "Y"}; string guess_sequence(int N) { string ans; for (int i = 0; i < N; i++) { for (int j = 0; j < 4; j++) { if (press(ans + T[j]) == i + 1) { ans = ans + T[j]; break; } } } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...