Ticket 4379
Problem 1665 -c
Submission 153265450
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
4
10
6 6 6 1 1 6 1 10 1 
47
32 15 27 21 37 27 19 19 21 29 5 21 13 13 19 1 41 21 41 6 45 21 45 28 42 6 1 39 28 24 22 15 23 41 44 1 17 41 7 24 3 28 21 15 24 1 
32
26 23 17 13 31 22 21 31 1 8 18 6 28 8 18 6 26 28 2 26 26 10 26 19 6 30 26 21 18 10 18 
50
44 43 7 36 33 38 13 28 15 41 29 32 15 29 1 20 25 7 34 31 1 18 47 38 25 35 1 38 6 19 16 1 19 4 31 28 1 33 16 19 38 33 30 34 39 33 16 14 28 
Expected Output
5
24
17
28
Your Output
4
24
17
28
Difference
Generator Parameters
--n_high 100 --n_low 2 --t_high 5 --t_low 1