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