# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1215116 | nataliaa | Combo (IOI18_combo) | C++20 | 0 ms | 0 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][0]);
if(ok) {
p+=c[i];
break;
}
}
}
return p;
}