結果
| 問題 |
No.514 宝探し3
|
| コンテスト | |
| ユーザー |
WA_TLE
|
| 提出日時 | 2017-05-05 22:27:23 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 569 bytes |
| コンパイル時間 | 571 ms |
| コンパイル使用メモリ | 63,944 KB |
| 実行使用メモリ | 25,476 KB |
| 平均クエリ数 | 4.00 |
| 最終ジャッジ日時 | 2024-07-16 12:53:30 |
| 合計ジャッジ時間 | 3,145 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 7 |
ソースコード
#include<string>
#include<iostream>
#include<cstdio>
#include<vector>
#include<algorithm>
#include<functional>
using namespace std;
typedef long long int llint;
#define pub push_back
#define mp make_pair
#define fir first
#define sec second
const int big=((llint)1<<30);
const llint mod=1000000007;
//aabbaabb
//
int main(void){
int a,b,c,d;
cout<<"0 0"<<endl;fflush(stdin);cin>>a;
cout<<"0 1000000000"<<endl;fflush(stdin);cin>>b;
cout<<"1000000000 0"<<endl;fflush(stdin);cin>>c;
printf("%d %d",(a-b+1000000000)/2,(a-c+1000000000)/2);fflush(stdin);
return 0;
}
WA_TLE