제출 #379630

#제출 시각아이디문제언어결과실행 시간메모리
379630SuhaibSawalha1콤보 (IOI18_combo)C++14
10 / 100
85 ms672 KiB
#include "combo.h" #include <bits/stdc++.h> using namespace std; vector<char> ca {'A', 'B', 'X', 'Y'}; string guess_sequence (int n) { string ans; for (int i = 0; i < n; ++i) { for (char c : ca) { if (press(ans + c) == i + 1) { ans += c; break; } } } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...