Ticket 17528
Problem 1499 -c
Submission 367560750
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
1
4
1 3 5 2 
Expected Output
16
Your Output
17
Difference
Generator Parameters
--c_val_high 5 --c_val_low 1 --n_high 4 --n_low 4 --t_high 1 --t_low 1