Ticket 4497
Problem 1661 -d
Submission 153217774
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
6 4
2 564 427 859 154 22 
Expected Output
305
Your Output
568
Difference
Generator Parameters
--b_high 1000 --b_low 1 --n_high 9 --n_low 1