結果
| 問題 | 
                            No.513 宝探し2
                             | 
                    
| コンテスト | |
| ユーザー | 
                             WA_TLE
                         | 
                    
| 提出日時 | 2017-05-05 22:29:41 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 23 ms / 2,000 ms | 
| コード長 | 551 bytes | 
| コンパイル時間 | 498 ms | 
| コンパイル使用メモリ | 63,376 KB | 
| 実行使用メモリ | 25,220 KB | 
| 平均クエリ数 | 4.00 | 
| 最終ジャッジ日時 | 2024-07-17 00:56:25 | 
| 合計ジャッジ時間 | 1,562 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 12 | 
ソースコード
#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 100000"<<endl;fflush(stdin);cin>>b;
	cout<<"100000 0"<<endl;fflush(stdin);cin>>c;
	printf("%d %d",(a-c+100000)/2,(a-b+100000)/2);fflush(stdin);
	return 0;
}
            
            
            
        
            
WA_TLE