結果
| 問題 |
No.909 たぴの配置
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-01-18 08:29:55 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 161 ms / 3,000 ms |
| コード長 | 215 bytes |
| コンパイル時間 | 264 ms |
| コンパイル使用メモリ | 82,244 KB |
| 実行使用メモリ | 109,024 KB |
| 最終ジャッジ日時 | 2025-01-18 08:30:04 |
| 合計ジャッジ時間 | 5,174 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
N = int(input())
X = list(map(int,input().split()))
Y = list(map(int,input().split()))
L = X[0]+Y[0]
for i in range(1,N):
L = min(L,X[i]+Y[i])
print(L)
print(0)
for i in range(N):
print(min(X[i],L))
print(L)