Ticket 17494
Problem 2001 -d
Submission 277865632
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
14
14 7 2 5 3 2 4 7 5 13 3 12 2 12 
Expected Output
8
14 2 5 3 4 7 13 12
Your Output
8
14 2 5 4 7 13 3 12 
Difference
Generator Parameters
--n_high 14 --n_low 14 --t_high 1 --t_low 1