Ticket 9020
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
8 1 6 2 7 
5
4 5 7 7 1 
5
3 4 9 4 5 
5
6 7 1 1 4 
5
2 8 6 1 9 
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