| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1356060 | hewkawar | Combo (IOI18_combo) | C++20 | 15 ms | 440 KiB |
#include "combo.h"
std::string guess_sequence(int N) {
// int coins = press(p);
std::string S = "";
for (int i = 0; i < N; ++i) {
// S += 'A';
int a = press(S + "A");
int b = press(S + "B");
int x = press(S + "X");
int y = press(S + "Y");
// cout << a << b << x << y;
// break;
if (a - S.size() == 1) {
S += "A";
}
if (b - S.size() == 1) {
S += "B";
}
if (x - S.size() == 1) {
S += "X";
}
if (y - S.size() == 1) {
S += "Y";
}
}
// cout << S << endl;
return S;
}| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
