Submission #153202

#TimeUsernameProblemLanguageResultExecution timeMemory
153202joylintpCombo (IOI18_combo)C++17
0 / 100
1 ms200 KiB
#include <bits/stdc++.h> #include "combo.h" using namespace std; string guess_sequence(int n) { string ret, but = "ABX"; for (int i = 0; i < n; i++) for (int j = 0; j < 3; j++) { if (press(ret + but[j]) == (int)ret.size() + 1) { ret += but[j]; break; } ret += "Y"; } return ret; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...