제출 #1128587

#제출 시각아이디문제언어결과실행 시간메모리
1128587ElayV13콤보 (IOI18_combo)C++20
10 / 100
28 ms456 KiB
#include "combo.h" #include "bits/stdc++.h" //g++ combo.cpp grader.cpp -o combo using namespace std; string guess_sequence(int n){ string ans = ""; vector < int > c = {'A' , 'B' , 'X' , 'Y'}; for(int i = 0;i < n;i++){ for(int j = 0;j < 4;j++){ string cc = ans; cc += c[j]; if(press(cc) == cc.size()){ ans = cc; break; } } } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...