Ticket 16323
Problem 1746 -c
Submission 177047158
View hacks & all small testcases

Unable to dry run this testcase?
Try making a new request with small values of n_high, t_high, *_high, etc.


Retry
Input
1
8
7 6 5 4 3 2 8 1 
Expected Output
1 7 2 3 4 5 6 8

Your Output
8 8 8 8 6 5 4 3 
Difference
Generator Parameters
--t_high 100 --t_low 100 --n_high 8 --n_low 8