Ticket 17018
Problem 1855 -d
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
8
1 2 2 3 5 6 7 7 
Expected Output
25
Your Output
23
Difference
Generator Parameters
--n_high 9 --n_low 1