結果

問題 No.909 たぴの配置
ユーザー rlangevin
提出日時 2023-01-03 16:11:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 147 ms / 3,000 ms
コード長 223 bytes
コンパイル時間 149 ms
コンパイル使用メモリ 81,920 KB
実行使用メモリ 108,808 KB
最終ジャッジ日時 2024-11-27 01:58:55
合計ジャッジ時間 5,293 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
X = list(map(int, input().split()))
Y = list(map(int, input().split()))
d = 10 ** 18
for i in range(N):
    d = min(d, X[i] + Y[i])
    
print(d)
print(0)
for i in range(N):
    print(min(X[i], d))
print(d)
0