結果
| 問題 |
No.909 たぴの配置
|
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2025-04-14 22:57:41 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 216 ms / 3,000 ms |
| コード長 | 259 bytes |
| コンパイル時間 | 405 ms |
| コンパイル使用メモリ | 82,416 KB |
| 実行使用メモリ | 142,272 KB |
| 最終ジャッジ日時 | 2025-04-14 22:57:48 |
| 合計ジャッジ時間 | 6,471 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
INF = 1 << 60
N = int(input())
X = list(map(int, input().split()))
Y = list(map(int, input().split()))
hd = 0
tl = min([x+y for x, y in zip(X, Y)])
ans = [hd]
for x, y in zip(X, Y):
ans.append(min(x, tl))
ans.append(tl)
print(tl)
print(*ans, sep='\n')
norioc