結果

問題 No.514 宝探し3
ユーザー nebukuro09
提出日時 2017-05-05 22:44:41
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 196 bytes
コンパイル時間 246 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 25,460 KB
平均クエリ数 2.92
最終ジャッジ日時 2024-07-16 13:00:03
合計ジャッジ時間 3,126 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 8 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
import random

N = 1000000001
print 0, 0
sys.stdout.flush()
d1 = int(raw_input())
print 0, N-1
sys.stdout.flush()
d2 = int(raw_input())

x = (d1 - d2 + N - 1) / 2
y = d1 - x
print x, y
0