結果
| 問題 | No.909 たぴの配置 |
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2025-04-14 22:57:41 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 151 ms / 3,000 ms |
| コード長 | 259 bytes |
| 記録 | |
| コンパイル時間 | 757 ms |
| コンパイル使用メモリ | 95,604 KB |
| 実行使用メモリ | 148,036 KB |
| 最終ジャッジ日時 | 2026-07-08 20:50:26 |
| 合計ジャッジ時間 | 6,166 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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