結果

問題 No.909 たぴの配置
ユーザー 💕💖💞💕💖💞
提出日時 2019-10-26 15:09:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 356 ms / 3,000 ms
コード長 226 bytes
コンパイル時間 109 ms
コンパイル使用メモリ 10,752 KB
実行使用メモリ 39,276 KB
最終ジャッジ日時 2023-10-12 09:45:19
合計ジャッジ時間 7,905 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,924 KB
testcase_01 AC 16 ms
7,780 KB
testcase_02 AC 16 ms
7,868 KB
testcase_03 AC 16 ms
7,816 KB
testcase_04 AC 16 ms
7,912 KB
testcase_05 AC 333 ms
38,076 KB
testcase_06 AC 342 ms
39,276 KB
testcase_07 AC 322 ms
36,660 KB
testcase_08 AC 342 ms
38,056 KB
testcase_09 AC 356 ms
39,204 KB
testcase_10 AC 328 ms
36,620 KB
testcase_11 AC 321 ms
36,496 KB
testcase_12 AC 339 ms
39,020 KB
testcase_13 AC 344 ms
37,828 KB
testcase_14 AC 324 ms
36,688 KB
testcase_15 AC 326 ms
36,512 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())

xs = list(map(int, input().split()))
ys = list(map(int, input().split()))

m = min([x+y for x, y in zip(xs, ys)])
print(m)

print(0)
for x, y, i in zip(xs, ys, list(range(N+1))):
    print(max(0, m-y))
print(m)
0