- 分享
code copy
- @ 2024-11-2 15:40:52
n,m = list(map(int,input().split()))
cn = list(map(int,input().split()))
am = list(map(int,input().split()))
cn.sort()
am.sort(reverse=True)
for x in range(m):
cn[x] += am[x]
print(max(cn))
```
0 条评论
目前还没有评论...