제출 #749938

#제출 시각아이디문제언어결과실행 시간메모리
749938vjudge1Combo (IOI18_combo)C++17
0 / 100
84 ms208 KiB
#include"combo.h"
#include<bits/stdc++.h>
#define ll long long
#define endl "\n"
using namespace std;

char a[4] = {'A', 'B', 'X', 'Y'};

int n;

string guess_sequence(int N)
{
	n = N;
	string s = "";
	for(int i = 1; i <= n; i++)
	{
		int loc = 0;
		int ret = 0;
		while(ret != i)	ret = press(s + a[loc]);
		s += a[loc];
	}
	return s;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...