Submission #1279277

#TimeUsernameProblemLanguageResultExecution timeMemory
1279277tullCombo (IOI18_combo)C++20
10 / 100
22 ms448 KiB
#include "combo.h" #include <bits/stdc++.h> using namespace std; std::string guess_sequence(int N) { int p=0,r; char c[]={'A','B','X','Y'}; string a=""; while (p<N) { for(auto&e:c){ r=press(a+e); if(r>p){ ++p; a+=e; break; } } } return a; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...