Ticket 1450
Problem 1650 -e
Submission 148965478
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

6 72
13 31 40 53 59 64 

6 58
5 9 24 26 30 36 
Expected Output
8
3
Your Output
7
3
Difference
Generator Parameters
--d_cap 1000000000 --d_high 99 --n_cap 200000 --n_high 9 --n_low 2 --t_cap 10000 --t_high 2 --t_low 1