Ticket 17117
Problem 1884 -d
Submission 229407443
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
1
30
13 11 10 7 11 8 14 14 25 8 30 23 19 21 9 4 13 29 16 22 8 25 27 6 20 30 17 17 15 27 
Expected Output
395
Your Output
392
Difference
Generator Parameters
--n_high 30 --n_low 30 --t_high 1 --t_low 1