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