# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
254515 | Erkhemkhuu | 콤보 (IOI18_combo) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define mk make_pair
#define F first
#define S second
string guess_sequence(int n) {
string res = "";
vector <char> vc = {'A', 'B', 'X', 'Y'};
for(auto &i: vc)
for(auto &j: vc)
for(auto &k: vc)
if(press(i + j + k) == 3)
res = i + j + k;
return res;
}