結果

問題 No.513 宝探し2
ユーザー nebukuro09nebukuro09
提出日時 2017-05-05 22:46:09
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 182 bytes
コンパイル時間 1,043 ms
コンパイル使用メモリ 6,636 KB
実行使用メモリ 24,276 KB
平均クエリ数 2.92
最終ジャッジ日時 2023-09-23 13:23:37
合計ジャッジ時間 2,273 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
23,580 KB
testcase_01 AC 34 ms
23,328 KB
testcase_02 AC 34 ms
23,424 KB
testcase_03 AC 33 ms
23,940 KB
testcase_04 AC 34 ms
24,048 KB
testcase_05 AC 34 ms
23,544 KB
testcase_06 AC 34 ms
24,228 KB
testcase_07 AC 33 ms
23,436 KB
testcase_08 RE -
testcase_09 AC 33 ms
23,640 KB
testcase_10 AC 34 ms
23,292 KB
testcase_11 AC 33 ms
23,652 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

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

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