题解 | #整型数组合并#

整型数组合并

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

全部评论

相关推荐

牛可乐121381:卖课的
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务