Ticket 4765
Problem 1661 -d
Submission 153427657
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
4 1
130 518 945 95 
Expected Output
1688
Your Output
2918
Difference
Generator Parameters
--b_high 999 --b_low 1 --n_high 9 --n_low 1