Ticket 3795
Problem 1665 -c
Submission 153081556
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
6
3
1 2 
10
1 4 9 6 1 4 10 1 9 
6
3 1 5 3 3 
13
1 1 1 1 5 9 5 1 1 9 9 9 
20
16 1 9 13 13 9 3 3 8 8 10 16 8 2 9 18 7 1 8 
12
8 1 10 12 4 8 3 8 3 3 7 
Expected Output
3
6
4
5
11
8
Your Output
3
6
4
6
11
8
Difference
Generator Parameters
--n_high 20 --n_low 2 --t_high 10 --t_low 1