Submission #208560

#TimeUsernameProblemLanguageResultExecution timeMemory
208560huzaifa242Combo (IOI18_combo)C++14
10 / 100
93 ms432 KiB
#include "combo.h" #include<bits/stdc++.h> using namespace std; string guess_sequence(int n){ vector<char> a={'A','B','X','Y'}; string s=""; int i,j; for(i=1;i<=n;i++){ for(j=0;j<4;j++){ s.push_back(a[j]); if(press(s)==i) break; s.pop_back(); } } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...