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