結果
問題 |
No.514 宝探し3
|
ユーザー |
![]() |
提出日時 | 2018-07-23 11:54:11 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 889 bytes |
コンパイル時間 | 941 ms |
コンパイル使用メモリ | 88,964 KB |
実行使用メモリ | 25,716 KB |
平均クエリ数 | 3.00 |
最終ジャッジ日時 | 2024-07-16 15:57:36 |
合計ジャッジ時間 | 4,321 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 11 |
ソースコード
#include<stdio.h> #include<string.h> #include<stdlib.h> #include<math.h> #include<stack> #include<queue> #include<vector> #include<algorithm> #include<string> #include<iostream> #include<set> #include<map> #include<bitset> using namespace std; typedef long long ll; #define i_7 1000000007 #define i_5 1000000005 ll mod(ll a){ ll c=a%i_7; if(c>=0)return c; else return c+i_7; } typedef pair<int,int> i_i; typedef pair<ll,ll> l_l; ll inf=1000000000000;/*10^12*/ #define rep(i,l,r) for(ll i=l;i<=r;i++) ll max(ll a,ll b){if(a<b)return b;else return a;} ll min(ll a,ll b){if(a>b)return b;else return a;} ////////////////////////////////////// int print(int x,int y){ cout<<x<<" "<<y<<endl; fflush(stdout); int b;cin>>b; return b; } int main(){ int c=2*1000000000+10; int x=c-print(c,0); int y=c-print(0,c); print(x,y); return 0; }