Ticket 5333
Problem 1668 -d
Submission 154140718
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
8
13
0 7 0 -1 -3 0 7 2 -8 1 0 0 -1 
9
0 -5 9 -2 0 -4 -7 -5 -2 
14
0 0 0 -5 -6 0 -9 0 0 4 2 7 0 -4 
3
7 0 0 
13
0 2 -4 0 0 0 -1 0 0 4 5 4 -1 
15
8 0 -2 0 1 -8 9 -3 0 -6 1 -1 0 -9 0 
6
-7 0 0 0 0 0 
10
0 9 5 0 9 0 0 0 0 0 
Expected Output
13
1
5
3
13
7
-1
10
Your Output
13
1
5
3
13
5
-1
10
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