题解 | #整型数组合并#
整型数组合并
https://www.nowcoder.com/practice/c4f11ea2c886429faf91decfaf6a310b
def sort2list(a,b): #合并,去重,排序后输出 c = a + b c = list(set(c)) for i in sorted(c): print(i,end='') while True: try: n,a,m,b = input(),list(map(int,input().split())),input(),list(map(int,input().split())) sort2list(a,b) except: break