Ticket 14238
Problem 1667 -b
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
2
0 0 
3
-2 0 -9 
15
0 8 -3 -5 7 -2 8 5 0 8 0 0 0 -3 0 
11
4 0 -8 2 8 -2 7 -1 2 -8 -1 
Expected Output
0
-2
15
11
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