Submission #232263

#TimeUsernameProblemLanguageResultExecution timeMemory
232263pere_gilCombo (IOI18_combo)C++14
0 / 100
1 ms200 KiB
#include <iostream> #include "combo.h" using namespace std; string guess_sequence(int N) { string s=""; for(int i=0;i<N;i++){ if(press(s+"A")>0){ s+="A"; } else{ if(press(s+"B")>0){ s+="B"; } else{ if(press(s+"X")>0){ s+="X"; } else{ s+="Y"; } } } } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...