結果

問題 No.514 宝探し3
ユーザー ああいいああいい
提出日時 2021-12-07 16:42:44
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 45 ms / 2,000 ms
コード長 158 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 10,748 KB
実行使用メモリ 24,388 KB
平均クエリ数 2.75
最終ジャッジ日時 2023-09-22 01:38:50
合計ジャッジ時間 1,687 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
24,012 KB
testcase_01 AC 42 ms
24,036 KB
testcase_02 AC 42 ms
23,560 KB
testcase_03 AC 42 ms
23,700 KB
testcase_04 AC 41 ms
23,616 KB
testcase_05 AC 42 ms
24,216 KB
testcase_06 AC 43 ms
23,664 KB
testcase_07 AC 41 ms
23,492 KB
testcase_08 AC 42 ms
24,112 KB
testcase_09 AC 43 ms
24,388 KB
testcase_10 AC 43 ms
24,264 KB
testcase_11 AC 42 ms
24,024 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
print(0,0)
d1 = int(input())
if d1 == 0:exit()
print(10 ** 9,0)
d2 = int(input())
if d2 == 0:exit()
d2 = 10 ** 9 - d2

print((d1+d2)//2,(d1-d2)//2)
0