Ticket 15336
Problem 1650 -e
Submission 162628218
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
2

2 62
43 44 

9 17
1 2 4 5 7 13 14 15 17 
Expected Output
21
0
Your Output
20
0
Difference
Generator Parameters
--d_high 99 --n_high 9 --n_low 2 --t_high 2 --t_low 1