Ticket 4292
Problem 1661 -d
Submission 153236688
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
9 5
772 119 690 992 532 159 623 644 206 
Expected Output
933
Your Output
991
Difference
Generator Parameters
--b_high 999 --b_low 1 --n_high 9 --n_low 1