結果

問題 No.514 宝探し3
ユーザー h_nosonh_noson
提出日時 2017-06-15 23:02:54
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 144 bytes
コンパイル時間 128 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 24,348 KB
平均クエリ数 2.75
最終ジャッジ日時 2023-09-23 14:13:34
合計ジャッジ時間 1,618 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
23,880 KB
testcase_01 AC 40 ms
23,772 KB
testcase_02 AC 39 ms
24,048 KB
testcase_03 AC 38 ms
23,512 KB
testcase_04 AC 39 ms
23,592 KB
testcase_05 AC 39 ms
23,520 KB
testcase_06 AC 39 ms
24,024 KB
testcase_07 AC 39 ms
23,464 KB
testcase_08 AC 38 ms
23,788 KB
testcase_09 AC 39 ms
24,348 KB
testcase_10 AC 39 ms
23,704 KB
testcase_11 AC 39 ms
24,276 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

print(0,0)
a = int(input())
if a == 0: exit(0)
print(10**9,0)
b = int(input())
if b == 0: exit(0)

y = (a + b - 10**9) // 2
x = a - y
print(x,y)
0