Ticket 5662
Problem 1668 -d
Submission 154615313
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
9
12
1 0 7 0 3 0 6 -1 -8 0 -4 -1 
13
0 0 0 5 0 -1 -3 -4 7 0 -9 7 -2 
8
-5 -3 0 9 0 -1 0 0 
1
0 
15
-5 0 -4 4 -7 -1 -5 3 -7 9 -8 0 5 0 2 
8
0 -6 -3 -9 6 0 0 0 
6
0 0 0 -6 -8 -8 
5
-7 -7 0 0 -1 
2
0 3 
Expected Output
12
11
6
0
4
1
-3
-3
2
Your Output
12
11
4
0
4
1
-3
-3
2
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