結果

問題 No.2852 Yakitori Optimization Problem
ユーザー nmoon
提出日時 2024-09-09 15:49:24
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 189 bytes
コンパイル時間 232 ms
コンパイル使用メモリ 82,076 KB
実行使用メモリ 137,832 KB
最終ジャッジ日時 2024-09-09 15:49:29
合計ジャッジ時間 4,855 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k=map(int,input().split())
a=list(map(int,input().split()))
b=list(map(int,input().split()))
c=list(map(int,input().split()))
ans=sum(a)
for i in range(n):
	ans+=max(b[i],c[i])
print(ans)
0