結果
| 問題 | No.909 たぴの配置 |
| コンテスト | |
| ユーザー |
koheijkt
|
| 提出日時 | 2025-10-06 18:08:43 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 151 ms / 3,000 ms |
| + 202µs | |
| コード長 | 298 bytes |
| 記録 | |
| コンパイル時間 | 235 ms |
| コンパイル使用メモリ | 95,724 KB |
| 実行使用メモリ | 134,204 KB |
| 最終ジャッジ日時 | 2026-07-15 14:41:37 |
| 合計ジャッジ時間 | 5,012 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
N = int(input())
X = list(map(int, input().split()))
Y = list(map(int, input().split()))
ans = 10**18
for x, y in zip(X, Y):
memo = x + y
if memo < ans:
ans = memo
print(ans)
ansl = [0]
for x, y in zip(X, Y):
ansl.append(min(ans, x))
ansl.append(ans)
print(*ansl, sep='\n')
koheijkt