Ticket 10412
Problem 1687 -d
Submission 159459095
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
10
126 226 307 840 854 955 1155 1213 1222 1629 
Expected Output
1099
Your Output
145084
Difference
Generator Parameters
--n_high 10 --n_low 10 --val_high 2000 --val_low 1