| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1012359 | MahmytM | 콤보 (IOI18_combo) | C++17 | 49 ms | 344 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include<bits/stdc++.h>
#include<combo.h>
using namespace std;
#define ll long long
#define ff first
#define ss second
#define pb push_back
#define yes cout<<"YES"<<endl
#define no cout<<"NO"<<endl
string guess_sequence(int n){
string ans="";
char z[5];
z[1]='A';
z[2]='B';
z[3]='X';
z[4]='Y';
while(true){
for(char a:z){
if(a==ans[0] and ans.size()!=0){
continue;
}
int in=press(ans);
if(in==n){
return ans;
}
for(int i=in;i<n;i++){
ans[i]=a;
}
}
}
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
