結果

問題 No.514 宝探し3
ユーザー pekempeypekempey
提出日時 2017-05-05 22:36:55
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 90 ms / 2,000 ms
コード長 266 bytes
コンパイル時間 259 ms
コンパイル使用メモリ 86,840 KB
実行使用メモリ 87,360 KB
平均クエリ数 2.75
最終ジャッジ日時 2023-09-23 13:19:54
合計ジャッジ時間 2,249 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
86,956 KB
testcase_01 AC 87 ms
86,920 KB
testcase_02 AC 85 ms
86,868 KB
testcase_03 AC 86 ms
87,000 KB
testcase_04 AC 88 ms
87,356 KB
testcase_05 AC 84 ms
87,212 KB
testcase_06 AC 83 ms
86,872 KB
testcase_07 AC 83 ms
87,132 KB
testcase_08 AC 85 ms
87,144 KB
testcase_09 AC 84 ms
87,148 KB
testcase_10 AC 84 ms
87,360 KB
testcase_11 AC 85 ms
86,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

print('0 0')
sys.stdout.flush()
left = int(input())
if left == 0:
    sys.exit()

print('1000000000 0')
sys.stdout.flush()
right = int(input())
if right == 0:
    sys.exit()

y = (left + right - 10 ** 9) // 2
x = left - y
print(x, y)
sys.stdout.flush()

0