結果

問題 No.514 宝探し3
ユーザー pekempeypekempey
提出日時 2017-05-05 22:36:38
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 261 bytes
コンパイル時間 878 ms
コンパイル使用メモリ 86,516 KB
実行使用メモリ 87,608 KB
平均クエリ数 2.83
最終ジャッジ日時 2023-09-23 13:19:50
合計ジャッジ時間 3,786 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
86,948 KB
testcase_01 AC 83 ms
86,976 KB
testcase_02 AC 88 ms
86,952 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 87 ms
87,568 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 88 ms
86,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

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

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

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

0