Ticket 5481
Problem 1668 -d
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
4
5
0 3 0 -9 9 
9
-9 0 -2 0 7 0 0 -4 -2 
12
-5 -2 -1 0 -1 4 1 -9 0 0 2 4 
13
3 4 -7 0 -6 3 0 3 2 9 0 6 0 
Expected Output
5
5
8
13
Generator Parameters
--absolute_value_of_elements_high 9 --absolute_value_of_elements_low 0 --n_high 15 --n_low 1 --t_high 10 --t_low 1