| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 846645 | HaciyevAlik | 콤보 (IOI18_combo) | C++14 | 40 ms | 1488 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#include "combo.h"
using namespace std;
string guess_sequence(int N) {
string p="";
int c=0;
for(int i=1;i<=N;++i){
string temp=p+'A';
if(press(temp)>c) {
p+='A'; ++c; continue;
}
temp=p+'B';
if(press(temp)>c) {
p+='B'; ++c; continue;
}
temp=p+'X';
if(press(temp)>c) {
p+='X'; ++c; continue;
}
temp=p+'Y';
if(press(temp)>c) {
p+='Y'; ++c; continue;
}
}
return p;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
