제출 #640144

#제출 시각아이디문제언어결과실행 시간메모리
640144ymmCombo (IOI18_combo)C++17
10 / 100
89 ms564 KiB
#include "combo.h" #include <bits/stdc++.h> #define Loop(x,l,r) for (ll x = (l); x < (r); ++x) #define LoopR(x,l,r) for (ll x = (r)-1; x >= (l); --x) typedef long long ll; typedef std::pair<int, int> pii; typedef std::pair<ll , ll > pll; using namespace std; std::string guess_sequence(int N) { string s = ""; char a[4] = {'A', 'B', 'X', 'Y'}; Loop (i,0,N) { char c; int mx = 0; for (char x : a) { int dard = press(s + x); if (dard > mx) { mx = dard; c = x; } } s += c; } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...