Задача Задача №246971
А
А
Программа для объединения и сортировки двух массивов в один вектор:
n1, n2 = map(int, input().split()) arr1 = list(map(int, input().split())) arr2 = list(map(int, input().split()))
res = sorted(arr1 + arr2)
for num in res: print(num, end=' ')
