Ticket 178
Problem 1631 -e
Submission 144343029
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
12
3 4 2 6 1 3 1 1 5 2 6 5 
Expected Output
8
Your Output
6
Difference
Generator Parameters
--n_cap 200000 --n_high 15 --n_low 10