http://codeup.kr/problem.php?id=1445
Codeup 1445 - 정렬된 두 배열 합치기
size1, size2 = map(int, input().split())
array_1 = list(map(int, input().split()))
array_2 = list(map(int, input().split()))
result = array_1 + array_2
result.sort()
for item in result:
print(item, end=' ')
'알고리즘 문제 풀기 > Codeup' 카테고리의 다른 글
Codeup 1452 - 데이터 정렬 (large) (0) | 2019.03.14 |
---|---|
Codeup 1451 - 데이터 정렬 (small) (0) | 2019.03.13 |
Codeup 1440 - 비교 (0) | 2019.03.12 |
Codeup 1430 - 기억력 테스트 2 (0) | 2019.03.12 |
Codeup 1425 - 자리 배치 (0) | 2019.03.12 |