Type: Default 1000ms 256MiB

数组12 合并数组

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

问题描述

有两个数组a和b。a大小为n, b大小为m。

a和b都是从小到大有序的。 (n,m<=1,000,000)

读入n,m,再读入a,再读入b。

将他们合并成一个大小为n+m的数组c, 且c有序。输出c。

输入

5 6
1 3 5 9 15
2 4 6 8 10 13

输出

1 2 3 4 5 6 8 9 10 13 15

初一年级数组3

Not Claimed
Status
Done
Problem
12
Open Since
2022-12-5 0:00
Deadline
2022-12-13 23:59
Extension
24 hour(s)