Ticket 15124
Problem 1668 -d
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
23
6
-10 0 0 88 89 35 
1
-51 
8
0 81 -3 69 0 29 0 0 
1
78 
12
87 0 -68 0 31 0 33 -47 33 -93 0 -53 
3
0 -8 96 
19
63 0 0 0 26 -96 0 25 -59 0 31 -57 -3 35 -20 86 -76 85 0 
1
0 
9
-29 6 0 -50 0 61 0 69 -8 
16
32 -19 0 33 92 0 -29 0 0 -1 -36 -22 62 -2 6 0 
2
-83 -81 
13
92 81 -2 0 -15 62 -36 0 -83 0 0 21 0 
10
-86 0 -93 -98 -78 -5 1 0 -72 55 
12
30 0 11 -55 73 39 0 -23 30 -46 70 -45 
19
-55 0 50 1 -22 0 0 -79 0 -61 74 -77 -15 0 -63 -93 4 35 -78 
20
0 -67 -53 44 43 0 -95 0 0 63 -54 -81 0 -71 -26 0 0 36 0 73 
12
-92 0 22 98 0 0 -65 -66 0 -75 70 0 
16
-88 13 -87 -13 -20 -67 -62 0 -46 0 0 0 -32 0 23 54 
18
-3 0 0 0 -70 59 0 0 -18 -8 0 0 88 36 -30 82 0 -87 
13
73 0 88 -29 14 85 -42 0 0 39 0 -32 -82 
16
-36 -55 -28 -19 0 0 -27 -97 0 0 95 0 -2 -42 89 0 
1
-14 
5
0 9 -93 0 -22 
Expected Output
6
-1
8
1
7
3
19
0
9
16
-2
13
-3
12
4
13
5
1
18
13
8
-1
0
Generator Parameters
--absolute_value_of_elements_high 99 --absolute_value_of_elements_low 0 --n_high 20 --n_low 1 --t_high 100 --t_low 1