제출 #706381

#제출 시각아이디문제언어결과실행 시간메모리
706381zeta7532콤보 (IOI18_combo)C++14
10 / 100
70 ms568 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+'A')==i+1){ s+='A'; continue; } if(press(s+'B')==i+1){ s+='B'; continue; } if(press(s+'X')==i+1){ s+='X'; continue; } if(press(s+'Y')==i+1){ s+='Y'; continue; } } return s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...