Ticket 3942
Problem 1665 -c
Submission 153100919
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
14
13 5 1 1 4 13 1 5 13 1 13 1 13 
26
25 24 1 12 4 14 15 10 17 12 15 20 6 7 14 7 17 2 3 14 5 24 15 14 25 
29
19 7 2 17 20 19 27 17 3 17 27 22 2 10 23 4 28 1 22 13 19 10 4 23 28 13 22 17 
7
1 6 6 6 1 1 
Expected Output
6
16
15
4
Your Output
5
16
15
3
Difference
Generator Parameters
--n_high 30 --n_low 2 --t_high 5 --t_low 1