結果

問題 No.513 宝探し2
ユーザー 👑 rin204rin204
提出日時 2022-01-20 01:07:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 417 ms
コンパイル使用メモリ 87,244 KB
実行使用メモリ 87,736 KB
平均クエリ数 2.75
最終ジャッジ日時 2023-09-24 03:01:57
合計ジャッジ時間 2,530 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 99 ms
86,944 KB
testcase_01 AC 95 ms
87,132 KB
testcase_02 AC 99 ms
87,524 KB
testcase_03 AC 94 ms
87,168 KB
testcase_04 AC 95 ms
87,608 KB
testcase_05 AC 95 ms
86,732 KB
testcase_06 AC 94 ms
87,104 KB
testcase_07 AC 92 ms
87,056 KB
testcase_08 AC 92 ms
87,736 KB
testcase_09 AC 93 ms
87,260 KB
testcase_10 AC 94 ms
86,900 KB
testcase_11 AC 94 ms
87,292 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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