Ticket 4960
Problem 1650 -e
Submission 153682642
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

7 17
3 6 8 10 11 13 16 

3 63
14 15 35 
Expected Output
0
14
Your Output
0
13
Difference
Generator Parameters
--d_high 99 --n_high 9 --n_low 2 --t_high 2 --t_low 1