Ticket 12227
Problem 1687 -d
Submission 160559393
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
119 159 532 545 623 644 690 772 992 
Expected Output
762010
Your Output
763757
Difference
Generator Parameters
--n_high 9 --n_low 1 --val_high 999 --val_low 1