Submission #317328

#TimeUsernameProblemLanguageResultExecution timeMemory
317328soroushCombo (IOI18_combo)C++14
10 / 100
78 ms544 KiB
#include <bits/stdc++.h> #include "combo.h" using namespace std; std::string guess_sequence(int n){ string ans = ""; for(int i = 1 ; i <= n ; i ++){ string cur = "A"; if(press(ans + "B") == i) cur = "B"; else if(press(ans + "X") == i) cur = "X"; else if(press(ans + "Y") == i) cur = "Y"; ans += cur; } return(ans); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...