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