제출 #963707

#제출 시각아이디문제언어결과실행 시간메모리
963707Hezov콤보 (IOI18_combo)C++17
0 / 100
19 ms684 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...