結果

問題 No.514 宝探し3
ユーザー fiordfiord
提出日時 2017-07-12 02:29:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 157 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 10,628 KB
実行使用メモリ 24,348 KB
平均クエリ数 2.83
最終ジャッジ日時 2023-09-23 14:18:11
合計ジャッジ時間 1,610 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
24,012 KB
testcase_01 AC 39 ms
23,436 KB
testcase_02 AC 37 ms
23,776 KB
testcase_03 AC 38 ms
23,400 KB
testcase_04 AC 39 ms
23,452 KB
testcase_05 AC 38 ms
24,012 KB
testcase_06 AC 40 ms
23,664 KB
testcase_07 AC 38 ms
23,676 KB
testcase_08 AC 38 ms
24,348 KB
testcase_09 AC 38 ms
24,348 KB
testcase_10 AC 38 ms
23,732 KB
testcase_11 AC 37 ms
23,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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