Ticket 9092
Problem 1682 -c
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
5
6
10 6 4 2 2 7 
6
9 10 16 17 20 13 
6
9 11 20 8 2 12 
6
1 19 19 19 18 10 
6
20 20 14 15 18 16 
Expected Output
3
3
3
3
3
Generator Parameters
--n_high 6 --n_low 6 --t_high 5 --t_low 5 --val_high 20 --val_low 1