Ticket 6617
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
10
236 14 892 470 422 173 1 529 77 232 
Expected Output
8
Generator Parameters
--n_high 30 --n_low 2 --val_high 990 --val_low 1