# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1215117 | nataliaa | Combo (IOI18_combo) | C++20 | 0 ms | 396 KiB |
#include "combo.h"
using namespace std;
string guess_sequence(int N) {
string p = "";
string c[4] = {"A", "B", "X", "Y"};
for(int j = 0; j < 3; j++) {
for(int i = 0; i < 4; i++) {
int ok = press(c[i]);
if(ok) {
p+=c[i][0];
break;
}
}
}
return p;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |