# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
138506 | ckodser | 콤보 (IOI18_combo) | C++14 | 3 ms | 364 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "combo.h"
#include<bits/stdc++.h>
#define ll long long
#define pb push_back
#define ld long double
#define F first
#define S second
#define mp make_pair
#define pii pair<ll,ll>
using namespace :: std;
const ll maxn=1e5+500;
const ll inf=1e9+900;
const string d[4]={"A","B","X","Y"};
vector<string> t;
string findNext(string s){
ll res01=press(s+d[0]+s+d[1]);
ll res02=press(s+d[0]+s+d[2]);
if(res01>=s.size()+1){
if(res02>=s.size()+1){
return d[0];
}else{
return d[1];
}
}else{
if(res02>=s.size()+1){
return d[2];
}else{
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |