Submission #783113

#TimeUsernameProblemLanguageResultExecution timeMemory
783113Mouad_oujCombo (IOI18_combo)C++17
5 / 100
1 ms208 KiB
#include<bits/stdc++.h> #include "combo.h" using namespace std; string guess_sequence(int n) { string tab[4]={"A","B","X","Y"}; string ans=""; for(int y=0;y<3;y++) { for(int x=0;x<4;x++) { if(press(ans+tab[x])==y+1) { ans+=tab[x]; break; } } } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...