Ticket 5538
Problem 1667 -b
Submission 154324305
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
12
-4 -7 1 -7 0 0 0 -2 0 0 -2 0 
11
0 -8 0 0 -5 1 5 0 0 0 0 
8
-8 -6 -1 0 7 -4 0 0 
10
-2 4 4 0 5 -7 -7 -2 0 0 
5
0 0 0 -2 0 
10
-7 0 3 0 8 7 -1 0 0 -3 
3
-3 -8 0 
6
0 7 -8 3 1 5 
Expected Output
-4
8
4
4
-1
10
-2
6
Your Output
-2
8
5
4
-1
10
-2
6
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