Ticket 6676
Problem 1667 -b
Submission 156048042
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
6
9
-9 0 0 2 7 -5 -4 0 0 
13
5 4 -5 -6 -4 7 -2 6 -4 -7 -8 8 4 
13
0 0 0 3 9 -2 -9 0 0 0 0 0 -7 
7
-2 2 0 0 -6 -6 0 
15
3 0 4 -8 3 0 -9 0 0 -4 -4 1 -3 -1 -8 
5
-4 0 0 5 0 
Expected Output
3
11
11
0
1
5
Your Output
3
9
11
0
1
5
Difference
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