Ticket 482
Problem 1635 -d
Submission 147272612
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
7 6
2 11 28 31 35 78 93 
Expected Output
16
Your Output
21
Difference
Generator Parameters
--n_cap 200000 --n_high 7 --n_low 1 --p_cap 200000 --p_high 6 --p_low 1 --val_cap 1000000000 --val_high 100 --val_low 1