Ticket 4430
Problem 1661 -d
Submission 153287934
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 4
305 19 653 661 
Expected Output
305
Your Output
471
Difference
Generator Parameters
--b_high 999 --b_low 1 --n_high 9 --n_low 1