結果
| 問題 |
No.909 たぴの配置
|
| コンテスト | |
| ユーザー |
c-yan
|
| 提出日時 | 2020-10-29 04:18:19 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 283 bytes |
| コンパイル時間 | 121 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 39,764 KB |
| 最終ジャッジ日時 | 2024-07-21 22:30:19 |
| 合計ジャッジ時間 | 8,213 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 1 WA * 12 |
ソースコード
N = int(input())
X = list(map(int, input().split()))
Y = list(map(int, input().split()))
m = 0
for i in range(N):
m = min(m, X[i] + Y[i])
result = []
result.append(m)
result.append(0)
for i in range(N):
result.append(min(X[i], m))
result.append(m)
print(*result, sep='\n')
c-yan