Ticket 9086
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
5
5 6 5 7 2 
5
1 7 2 8 9 
5
6 3 8 7 4 
5
2 5 1 2 7 
5
8 7 4 3 7 
Expected Output
3
3
3
3
3
Generator Parameters
--n_high 5 --n_low 5 --t_high 5 --t_low 5 --val_high 9 --val_low 1