Submission #480322

#TimeUsernameProblemLanguageResultExecution timeMemory
480322omgCombo (IOI18_combo)C++17
10 / 100
108 ms400 KiB
#include<bits/stdc++.h> #include "combo.h" using namespace std; string guess_sequence(int N) { string R=""; int comboCur=0; string target="ABXY"; for (int i=0;i<N;i++) { for (int j=0;j<4; j++) { R.push_back(target[j]); if (press(R) > comboCur) break; R.pop_back(); } comboCur++; } return R; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...