제출 #1369335

#제출 시각아이디문제언어결과실행 시간메모리
1369335norrawichzzz콤보 (IOI18_combo)C++20
10 / 100
15 ms492 KiB
#include "combo.h"
#include <bits/stdc++.h>
using namespace std;

string guess_sequence(int N) {
  vector<char> guess = {'A', 'B', 'X', 'Y'};

  string S = "";
  for (int i = 0; i < N; ++i) {
    for (auto x : guess) {
      string cur = S+x;

      if (press(cur) == i+1) {
        S=cur;
        break;
      }
    }
  }
  return S;
}
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…