Ticket 467
Problem 1630 -c
Submission 147195734
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
10
4 5 5 3 2 3 1 4 5 2 
Expected Output
7
Your Output
6
Difference
Generator Parameters
--n_cap 200000 --n_high 10 --n_low 5