Ticket 6231
Problem 1650 -e
Submission 155504774
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 45
1 43 

3 66
18 23 53 
Expected Output
20
16
Your Output
20
14
Difference
Generator Parameters
--d_high 99 --n_high 9 --n_low 2 --t_high 2 --t_low 1