코테 대비 python/백준
백준 11728
ylab
2022. 4. 14. 19:45
https://www.acmicpc.net/problem/11728
11728번: 배열 합치기
첫째 줄에 배열 A의 크기 N, 배열 B의 크기 M이 주어진다. (1 ≤ N, M ≤ 1,000,000) 둘째 줄에는 배열 A의 내용이, 셋째 줄에는 배열 B의 내용이 주어진다. 배열에 들어있는 수는 절댓값이 109보다 작거
www.acmicpc.net
N, M= list(map(int,input().split()))
#a=[]
#b=[]
a=list(map(int,input().split()))
b=list(map(int,input().split()))
c=a+b
c.sort()
for i in c:
print(i,end=" ")
print( ,end=" ")
기억!!!