結果

問題 No.513 宝探し2
ユーザー pekempeypekempey
提出日時 2017-05-05 22:35:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 94 ms / 2,000 ms
コード長 261 bytes
コンパイル時間 995 ms
コンパイル使用メモリ 86,860 KB
実行使用メモリ 87,388 KB
平均クエリ数 2.75
最終ジャッジ日時 2023-09-24 01:02:49
合計ジャッジ時間 2,482 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
87,196 KB
testcase_01 AC 89 ms
86,716 KB
testcase_02 AC 94 ms
87,384 KB
testcase_03 AC 91 ms
87,060 KB
testcase_04 AC 89 ms
86,912 KB
testcase_05 AC 90 ms
87,348 KB
testcase_06 AC 91 ms
86,872 KB
testcase_07 AC 92 ms
87,232 KB
testcase_08 AC 90 ms
87,080 KB
testcase_09 AC 91 ms
87,252 KB
testcase_10 AC 92 ms
86,928 KB
testcase_11 AC 94 ms
87,388 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