Submission #392328

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