| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1324395 | riafhasan2010 | 콤보 (IOI18_combo) | C++17 | 21 ms | 436 KiB |
#include "combo.h"
using namespace std;
std::string guess_sequence(int N) {
string s, p = "", alpha = "ABXY";
for (int i = 0; i < N; i++) {
p += 'A';
for (int j = 0; j < 4; j++) {
p[i] = alpha[j];
if (press(p) == i + 1) {
s = p;
break;
}
}
}
return s;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
