题解 | #整型数组合并#

整型数组合并

http://www.nowcoder.com/practice/c4f11ea2c886429faf91decfaf6a310b

# -*-coding:utf-8-*-
while True:
    try:
        input_m1 = int(input())
        input_n1 = list(map(int,input().split(" ")))
        input_m2 = int(input())
        input_n2 = list(map(int,input().split(" ")))
        input_nn = input_n1+input_n2
        input_nn_s = sorted(set(input_nn),reverse=False)

        print("".join(list(map(str,input_nn_s))))



    except:
        break

全部评论

相关推荐

06-12 16:23
已编辑
小米_软件开发(准入职员工)
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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