Ticket 16382
Problem 1740 -e
Submission 178382925
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
5
1 2 2 2 
Expected Output
3
Your Output
4
Difference
Generator Parameters
--n_high 6 --n_low 2