Ticket 1930
Problem 1651 -c
Submission 149182637
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
2
10
45 31 58 40 12 66 78 54 4 21 
69 1 96 66 43 92 69 99 12 83 
5
40 25 88 21 11 
64 79 97 49 68 
Expected Output
19
81
Your Output
19
82
Difference
Generator Parameters
--n_cap 200000 --n_high 10 --n_low 3 --t_cap 10000 --t_high 2 --t_low 1 --val_cap 1000000000 --val_high 100 --val_low 1