Ticket 1981
Problem 1630 -c
Submission 149459429
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
7
3 1 3 3 2 2 1 
Expected Output
4
Your Output
2
Difference
Generator Parameters
--n_cap 200000 --n_high 7 --n_low 3