Lu1203_160320_ngor

easy
   LU1203_160320_NGOR
                               
                               
                               

Input Format

as discussed in class

Output Format

as discussed in class

Constraints

as discussed in class

Notice

Try First, Check Solution later

1. You should first read the question and watch the question video.
2. Think of a solution approach, then try and submit the question on editor tab.
3. We strongly advise you to watch the solution video for prescribed approach.

Example

Input
10
2 5 3 4 6 2 2 2  45 5
Output
5 6 4 6 45 45 45 45 -1 -1
Previous
Cc_lect14mar2020_q1
Next
F1201-lecture1-180320-construct-and-display

Related Questions