結果

問題 No.513 宝探し2
ユーザー lloyzlloyz
提出日時 2022-11-06 00:53:48
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 81 ms
コンパイル使用メモリ 10,524 KB
実行使用メモリ 24,308 KB
平均クエリ数 2.75
最終ジャッジ日時 2023-09-24 03:07:54
合計ジャッジ時間 1,442 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
23,600 KB
testcase_01 AC 30 ms
23,892 KB
testcase_02 AC 31 ms
23,472 KB
testcase_03 AC 31 ms
23,904 KB
testcase_04 AC 31 ms
23,628 KB
testcase_05 AC 31 ms
23,904 KB
testcase_06 AC 31 ms
24,240 KB
testcase_07 AC 31 ms
24,204 KB
testcase_08 AC 33 ms
24,308 KB
testcase_09 AC 34 ms
23,844 KB
testcase_10 AC 31 ms
23,712 KB
testcase_11 AC 30 ms
24,240 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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