source code:
m,n=raw_input().split()
m=int(m)
n=int(n)
a=map(int,raw_input().split())
b=map(int,raw_input().split())
c=a+b
c.sort()
for i in c:
print i,
Input:
4 4
1 2 3 4
3 5 6 7
Output:
1 2 3 3 4 5 6 7
Created by Gavaskar
4 4
1 2 3 4
3 5 6 7
1 2 3 3 4 5 6 7
0 comments:
Post a Comment