# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1223059 | madamadam3 | 콤보 (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;
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |