题解 | #有序序列合并#

有序序列合并

https://www.nowcoder.com/practice/a9e943b0dab142759807d0cfb6863897

num_list1 = list(map(int, input().split()))
num_list2 = list(map(int, input().split()))
num_list3 = list(map(int, input().split()))

num_plus = num_list2 + num_list3
#print(num_plus)
num_plus.sort()
last_num = num_plus[0] - 1

for num in num_plus:
    #if(last_num != num):
    print(num, end = " ")
    #last_num = num

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务