제출 #936002

#제출 시각아이디문제언어결과실행 시간메모리
936002VMaksimoski008콤보 (IOI18_combo)C++14
0 / 100
0 ms344 KiB
#include "combo.h"
#include <bits/stdc++.h>
using namespace std;

string guess_sequence(int N) {
    string S = "";

    for(int i=0; i<N; i++) {
        for(char ch : {'A', 'B', 'X', 'Y'}) {
            S += ch;
            if(press(S) == i + 1) break;
        }
    }
  
    return S;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...