제출 #1330811

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

std::string guess_sequence(int N) {
  vector<char> a = {'A' , 'B' , 'X' , 'Y'};
  string b = "";
  for(int i = 0; i < N; i++){
    for(int j = 0; j < 4; j++){
      b.push_back(a[j]);
      if(i+1 == press(b))break;
      b.pop_back();
    }
  }
  return b;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...