Homework 5 Problem 4

Homework 5 Problem 4

You cannot submit for this problem because the homework's deadline is due.

Name your file as ex4.c and compress it in a tar/zip file.

Updates

You should include your main function when submitting.

Input

The first line includes a single integer n

The second line includes n integers representing elements in subArr1

The third line includes a single integer m

The fourth line includes m integers representing elements in subArr2

Output

A single line including n+m integers in the array arrSorted with the elements arranged in descenting order.

Specification

  • \(1 < m, n < 60000\)
  • \(m_i, n_i\) will not exceed the limit of int

Sample #1

Input:

3
1 3 4 
7
1 2 5 5 5 6 7 

Output:

7 6 5 5 5 4 3 2 1 1 

Homework 5

Not Claimed
Status
Finished
Problems
5
Open Since
2020-07-12 00:00
DDL
2020-07-20 23:59
Extension
48.0 hour(s)