제출 #963713

#제출 시각아이디문제언어결과실행 시간메모리
963713Hezov콤보 (IOI18_combo)C++17
0 / 100
27 ms428 KiB
#include "combo.h" #include <bits/stdc++.h> using namespace std; /// 4N solution. string guess_sequence(int N) { string sol = ""; char keys[] = {'A','B','X','Y'}; for(int i = 1;i<=N;i++) { int poz = 0; int len = sol.size(); sol[len] = keys[poz]; while(press(sol)!=i) poz++,sol[len] = keys[poz]; } return sol; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...