Ticket 6377
Problem 1674 -e
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
15
56 45 16 20 30 77 23 78 70 18 54 86 21 35 39 
Expected Output
12
Generator Parameters
--n_high 15 --n_low 2 --val_high 99 --val_low 1