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