Ticket 255
Problem 1630 -c
Submission 145625783
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
8
5 3 2 8 4 2 2 6 
Expected Output
3
Your Output
-1061109561
Difference
Generator Parameters
--n_cap 200000 --n_high 10 --n_low 3