题解 | 整型数组合并
m,arr1 = int(input()) , list(map(int,input().split())) n,arr2 = int(input()) , list(map(int,input().split())) arr = arr1 + arr2 print(''.join(list(map(str,sorted(set(arr))))))
m,arr1 = int(input()) , list(map(int,input().split())) n,arr2 = int(input()) , list(map(int,input().split())) arr = arr1 + arr2 print(''.join(list(map(str,sorted(set(arr))))))
相关推荐