Submission #303700

#TimeUsernameProblemLanguageResultExecution timeMemory
303700Gilgamesh콤보 (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...