题解 | #有序序列合并#
有序序列合并
https://www.nowcoder.com/practice/a9e943b0dab142759807d0cfb6863897
n,m = map(int,input().split()) x = [0]*60000 x1 = map(int,input().split()) for i in x1: x[i] += 1 x2 = map(int,input().split()) for i in x2: x[i] += 1 for i in range(60000): for j in range(x[i]): print(i,end=' ')