题解 | #有序序列合并#
有序序列合并
https://www.nowcoder.com/practice/a9e943b0dab142759807d0cfb6863897
n,m=map(int,input().split()) a=list(map(int,input().split())) b=list(map(int,input().split())) c=sorted(a+b) for i in c: print(i,end=" ")
有序序列合并
https://www.nowcoder.com/practice/a9e943b0dab142759807d0cfb6863897
n,m=map(int,input().split()) a=list(map(int,input().split())) b=list(map(int,input().split())) c=sorted(a+b) for i in c: print(i,end=" ")
相关推荐