Ticket 5419
Problem 1668 -d
Submission 154175767
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
7
0 0 -8 9 -9 0 8 
7
-9 0 0 0 6 4 -6 
7
-9 0 5 8 8 0 0 
7
-7 0 0 1 0 0 -7 
7
-7 -8 0 0 0 0 0 
7
0 0 0 0 0 0 4 
7
-3 0 -6 -4 -7 0 0 
7
-4 0 0 0 0 0 6 
7
-1 3 -7 4 -2 0 0 
Expected Output
5
5
7
3
-2
7
-4
7
5
Your Output
4
5
7
3
-2
7
-4
7
5
Difference
Generator Parameters
--absolute_value_of_elements_high 9 --absolute_value_of_elements_low 0 --n_high 7 --n_low 7 --t_high 10 --t_low 1