题解 | #整型数组合并#

整型数组合并

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

全部评论

相关推荐

天降大厂offer:你是我见过最美的牛客女孩
点赞 评论 收藏
分享
10-20 16:50
门头沟学院 Java
强大的马里奥:考研报名还没结束,建议考个中游211,这样会好找一些
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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