Ticket 15028
Problem 1684 -e
Submission 162374488
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
21
5 3
24 30 4 41 13 
16 30
7 9 0 44 2 44 40 35 42 47 38 32 41 11 16 39 
21 43
16 26 47 9 14 9 25 50 8 45 39 8 12 12 19 38 5 10 4 24 24 
36 24
26 32 24 47 4 21 37 22 37 35 44 49 24 5 17 17 3 30 3 27 15 39 5 8 17 35 49 13 22 32 24 34 36 30 1 9 
18 41
14 22 20 37 49 34 28 20 10 4 0 7 47 12 40 35 28 39 
44 35
14 8 28 29 44 43 6 49 21 41 15 21 44 48 36 36 19 0 9 7 22 37 24 16 0 25 13 37 23 25 37 10 0 22 50 25 3 42 30 9 8 44 18 33 
41 4
21 31 4 11 15 21 42 7 12 31 38 6 27 48 1 29 3 16 22 22 43 4 37 21 14 38 22 37 27 24 22 11 24 13 25 4 47 3 10 30 43 
1 32
16 
8 28
46 36 37 45 43 22 0 43 
7 8
34 29 47 22 50 16 25 
27 17
26 0 38 29 43 15 1 49 47 25 27 32 48 23 33 34 28 15 3 25 48 45 33 1 1 47 44 
4 15
16 12 3 15 
24 0
25 45 3 33 42 18 3 36 4 16 49 0 42 8 8 10 4 20 15 5 4 13 47 42 
50 47
22 9 14 43 21 10 10 4 32 31 16 1 21 12 9 36 0 36 50 7 1 38 45 29 38 37 10 2 14 29 20 4 43 39 4 30 40 41 2 14 38 40 38 12 13 38 30 27 40 38 
8 27
0 8 9 34 30 40 23 42 
5 27
44 19 19 12 11 
23 19
33 19 26 18 8 4 20 39 29 12 45 0 9 47 19 46 0 15 1 23 33 27 0 
19 10
48 24 18 8 18 19 1 6 33 39 26 23 24 42 24 16 41 36 44 
50 28
38 37 21 38 12 25 1 23 27 43 27 22 43 42 45 20 5 47 10 25 33 12 7 40 39 22 18 28 46 47 33 43 48 11 5 14 38 38 41 9 22 17 4 0 24 5 5 47 25 0 
8 35
41 15 0 22 29 42 13 48 
1 14
0 
Expected Output
2
0
0
0
0
0
17
0
0
0
2
0
17
0
0
0
0
3
0
0
0
Your Output
2
0
0
0
0
0
17
0
0
0
2
0
17
0
0
0
0
3
0
0
1
Difference
Generator Parameters
--k_high 50 --k_low 0 --n_high 50 --n_low 1 --t_high 50 --t_low 1 --val_high 50 --val_low 0