제출 #303700

#제출 시각아이디문제언어결과실행 시간메모리
303700GilgameshCombo (IOI18_combo)C++17
0 / 100
1 ms200 KiB
#include "combo.h" std::string guess_sequence(int N) { std::string strs[4] = {"A", "B", "X", "Y"}; std::string ans = ""; if(N == 3){ while(N--){ for(int i = 0; i < 4; ++i){ int cur = press(ans + strs[i]); if(cur) { ans += strs[i]; break; } } } } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...