Ticket 8886
Problem 1635 -d
Submission 158963588
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 48
1 4 5 6 
Expected Output
201322820
Your Output
471315025
Difference
Generator Parameters
--n_high 7 --n_low 1 --p_high 50 --p_low 1 --val_high 10 --val_low 1