| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1223059 | madamadam3 | Combo (IOI18_combo) | C++20 | 2 ms | 488 KiB |
#include "combo.h"
#include <bits/stdc++.h>
using namespace std;
using str = string;
str CHARS[4] = {"A", "B", "X", "Y"};
#define rep(x) for (auto &x : CHARS)
str guess_sequence(int N) {
rep(c1) rep(c2) rep(c3) {
str S = c1 + c2 + c3;
if (press(S) == 3) return S;
}
}
컴파일 시 표준 에러 (stderr) 메시지
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
