結果
| 問題 | No.909 たぴの配置 |
| コンテスト | |
| ユーザー |
c-yan
|
| 提出日時 | 2020-10-29 04:20:06 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 286 ms / 3,000 ms |
| + 960µs | |
| コード長 | 294 bytes |
| 記録 | |
| コンパイル時間 | 295 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 43,192 KB |
| 最終ジャッジ日時 | 2026-08-22 14:56:21 |
| 合計ジャッジ時間 | 7,800 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
N = int(input())
X = list(map(int, input().split()))
Y = list(map(int, input().split()))
m = float('inf')
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