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