제출 #706383

#제출 시각아이디문제언어결과실행 시간메모리
706383zeta7532콤보 (IOI18_combo)C++14
0 / 100
1 ms208 KiB
#include "combo.h" #include <bits/stdc++.h> #pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") using namespace std; using ll = int64_t; const ll mod = 998244353; const ll INF = 1LL<<60; #define fi first #define se second #define rep(i,n) for(ll i=0;i<n;i++) #define all(x) x.begin(),x.end() #define faster ios::sync_with_stdio(false);cin.tie(nullptr) string guess_sequence(int N){ string s=""; rep(i,N){ if(press(s+"AB")>=i+1){ if(press(s+'A')>=i+1){ s+='A'; continue; } s+='B'; continue; } if(press(s+'X')>=i+1){ s+='X'; continue; } s+='Y'; } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...