Ticket 16676
Problem 1768 -c
Submission 188118465
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
6
5 4 5 6 6 2 
Expected Output
YES
1 4 5 3 6 2
5 4 1 6 3 2
Your Output
NO
Difference
Generator Parameters
--n_high 6 --n_low 6 --t_high 1 --t_low 1