Ticket 17204
Problem 1740 -c
Submission 1
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
5
9 7 10 1 2 
Expected Output
13
Your Output
11
Difference
Generator Parameters
--n_high 10 --n_low 3 --t_high 1 --t_low 1 --val_high 10 --val_low 1