Submission #625147

#TimeUsernameProblemLanguageResultExecution timeMemory
625147Mr_HusanboyCombo (IOI18_combo)C++14
0 / 100
1 ms208 KiB
#include "combo.h" #include <bits/stdc++.h> using namespace std; string guess_sequence(int N) { string p = ""; string let = "ABXY"; int n = N; for(int i = 0; i < n; i ++){ for(auto u : let){ p.push_back(u); if(press(p) == (int)(p.size())){ break; } p.pop_back(); } } cout << p << endl; return p; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...