Ticket 4410
Problem 1661 -d
Submission 153270357
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
8 4
99 54 9 63 29 78 23 76 
Expected Output
128
Your Output
138
Difference
Generator Parameters
--b_high 100 --b_low 1 --n_high 10 --n_low 1