結果
問題 | No.909 たぴの配置 |
ユーザー |
![]() |
提出日時 | 2020-04-07 18:29:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 506 ms / 3,000 ms |
コード長 | 235 bytes |
コンパイル時間 | 124 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 39,564 KB |
最終ジャッジ日時 | 2024-07-07 20:35:05 |
合計ジャッジ時間 | 9,136 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
N = int(input())X = list(map(int, input().split()))Y = list(map(int, input().split()))res = 10**18for i in range(N):res = min(res, X[i] + Y[i])print(res)print(0)for i in range(N):print(min(X[i], res + Y[i]))print(res)