Ticket 6616
Problem 1674 -e
Submission 155910986
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
29
662 839 234 369 423 109 818 983 676 804 121 408 510 299 449 979 378 97 46 469 265 263 611 564 540 900 70 446 519 
Expected Output
49
Your Output
46
Difference
Generator Parameters
--n_high 30 --n_low 2 --val_high 990 --val_low 1