結果

問題 No.513 宝探し2
ユーザー jamadjamad
提出日時 2017-09-01 15:29:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 115 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 10,536 KB
実行使用メモリ 24,228 KB
平均クエリ数 2.83
最終ジャッジ日時 2023-09-24 01:32:14
合計ジャッジ時間 1,503 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
23,988 KB
testcase_01 AC 33 ms
23,688 KB
testcase_02 AC 39 ms
23,696 KB
testcase_03 AC 34 ms
23,976 KB
testcase_04 AC 34 ms
23,664 KB
testcase_05 AC 35 ms
24,228 KB
testcase_06 AC 34 ms
23,604 KB
testcase_07 AC 36 ms
23,548 KB
testcase_08 AC 35 ms
23,816 KB
testcase_09 AC 34 ms
24,036 KB
testcase_10 AC 34 ms
23,388 KB
testcase_11 AC 34 ms
23,568 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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