제출 #1023307

#제출 시각아이디문제언어결과실행 시간메모리
1023307vaneaCombo (IOI18_combo)C++14
10 / 100
78 ms1104 KiB
#include <bits/stdc++.h>
#include "combo.h"
using namespace std;
using ll = long long;

string guess_sequence(int n) {
    vector<string> pos = {"A", "B", "X", "Y"};
    string ans = "";
    int last = 0;
    for(int i = 0; i < n; i++) {
        for(auto it : pos) {
            if(press(ans+it) > last) {
                ans += it;
                ++last;
                continue;
            }
        }
    }
    return ans;
}

#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…