結果

問題 No.514 宝探し3
ユーザー gyu-dongyu-don
提出日時 2017-06-23 00:28:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 171 bytes
コンパイル時間 74 ms
コンパイル使用メモリ 10,704 KB
実行使用メモリ 24,372 KB
平均クエリ数 2.75
最終ジャッジ日時 2023-09-23 14:14:30
合計ジャッジ時間 1,405 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
23,784 KB
testcase_01 AC 35 ms
23,892 KB
testcase_02 AC 38 ms
23,592 KB
testcase_03 AC 37 ms
23,916 KB
testcase_04 AC 34 ms
23,700 KB
testcase_05 AC 34 ms
24,060 KB
testcase_06 AC 36 ms
23,492 KB
testcase_07 AC 36 ms
24,096 KB
testcase_08 AC 36 ms
24,372 KB
testcase_09 AC 34 ms
23,592 KB
testcase_10 AC 36 ms
24,084 KB
testcase_11 AC 36 ms
23,900 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

print(0, 0)
d = int(input())
if d == 0:
    raise SystemExit
print(0, d)
d2 = int(input())
if d2 == 0:
    raise SystemExit
assert d2 % 2 == 0
x = d2 // 2
print(x, d - x)
0