제출 #1054953

#제출 시각아이디문제언어결과실행 시간메모리
1054953ender콤보 (IOI18_combo)C++17
5 / 100
40 ms420 KiB
#include "combo.h" #include <bits/stdc++.h> using namespace std; std::string guess_sequence(int N) { vector<char> c = {'A', 'B', 'X', 'Y'}; string p = ""; int coins = press(p); while(coins != 3){ for(auto &i : c){ if(press(p+i) > coins){ p += i; coins = press(p); break; } } } return p; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...