# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1206032 | isamatdin | 콤보 (IOI18_combo) | C++20 | 19 ms | 456 KiB |
#include <bits/stdc++.h>
#include "combo.h"
using namespace std;
string guess_sequence(int n)
{
string p;
for (int i = 1; i <= n; i++)
{
p += '.';
for (char &k : (string) "ABXY")
{
p.back() = k;
if (press(p) == i)
break;
}
}
return p;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |