Ticket 679
Problem 1638 -a
Submission 147752131
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
3
3
1 2 3 
4
1 4 3 2 
7
4 7 3 6 1 5 2 
Expected Output
1 2 3
1 2 3 4
1 6 3 7 4 5 2
Your Output
1 2 3 
1 2 3 4 
1 7 3 6 4 5 2 
Difference
Generator Parameters
--n_cap 500 --n_high 7 --n_low 1 --t_cap 500 --t_high 5 --t_low 1