結果
問題 | No.909 たぴの配置 |
ユーザー |
![]() |
提出日時 | 2019-10-26 15:09:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 437 ms / 3,000 ms |
コード長 | 226 bytes |
コンパイル時間 | 80 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 39,684 KB |
最終ジャッジ日時 | 2024-09-14 08:39:37 |
合計ジャッジ時間 | 8,082 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
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)