| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1361421 | imchy | Dark Ride (EGOI25_darkride) | C++20 | 0 ms | 424 KiB |
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
vector<char> s(n, 0);
pair<int, int> ans={0,0};
cout<<"?110"<<endl;
cin>>n;
if(n==2){
ans.first=0;
ans.second=1;
}
cout<<"?101"<<endl;
cin>>n;
if(n==2){
ans.first=0;
ans.second=2;
}
cout<<"?011"<<endl;
cin>>n;
if(n==2){
ans.first=2;
ans.second=1;
}
cout<<"!"<<ans.first<<" "<<ans.second<<endl;
return 0;
}| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
