제출 #648229

#제출 시각아이디문제언어결과실행 시간메모리
648229Kenpar콤보 (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...