Ticket 196
Problem 1631 -e
Submission 144457567
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
6
1 3 2 2 3 1 
Expected Output
4
Your Output
1
Difference
Generator Parameters
--n_cap 200000 --n_high 7 --n_low 3