Ticket 17022
Problem 1855 -d
Submission 216348756
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
6
2 2 2 3 6 6 
Expected Output
15
Your Output
14
Difference
Generator Parameters
--n_high 6 --n_low 1