結果

問題 No.514 宝探し3
ユーザー lloyzlloyz
提出日時 2022-11-07 00:15:30
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 153 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 10,736 KB
実行使用メモリ 24,312 KB
平均クエリ数 2.75
最終ジャッジ日時 2023-09-27 16:37:57
合計ジャッジ時間 2,187 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
24,048 KB
testcase_01 AC 39 ms
24,312 KB
testcase_02 AC 38 ms
24,036 KB
testcase_03 AC 38 ms
23,880 KB
testcase_04 AC 39 ms
23,492 KB
testcase_05 AC 38 ms
23,556 KB
testcase_06 AC 39 ms
23,720 KB
testcase_07 AC 39 ms
24,288 KB
testcase_08 AC 38 ms
24,244 KB
testcase_09 AC 40 ms
23,652 KB
testcase_10 AC 39 ms
24,312 KB
testcase_11 AC 39 ms
24,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

print(0, 0)
a = int(input())
if a == 0:
    exit()
print(0, 10**9)
b = int(input())
if b == 0:
    exit()
x = (a + b - 10**9) // 2
y = a - x
print(x, y)
0