Submission #648229

#TimeUsernameProblemLanguageResultExecution timeMemory
648229KenparCombo (IOI18_combo)C++17
10 / 100
82 ms544 KiB
//OJUZ grind baby #include <bits/stdc++.h> #include <combo.h> using namespace std; #define ll long long char word[] = {'A', 'B', 'X', 'Y'}; string guess_sequence(int N){ string ans = ""; for(int cur = 0; cur < N; cur++){ for(int i = 0; i < 4; i++){ string temp = ans + word[i]; int a = press(temp); if(a == cur + 1){ ans = temp; break; } } } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...