Submission #285371

#TimeUsernameProblemLanguageResultExecution timeMemory
285371Pichon5Combo (IOI18_combo)C++17
10 / 100
116 ms668 KiB
#include "combo.h" #include <bits/stdc++.h> using namespace std; string guess_sequence(int N){ char arr[4]={'A','B','X','Y'}; string s="",ss; for(int i=1;i<=N;i++){ for(int l=0;l<4;l++){ ss=s; ss+=arr[l]; if(press(ss)==i){ s=ss; break; } } } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...