Ticket 14891
Problem 1658 -f
Submission 162276060
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
46 24
1110111111001010110111000001000010110111000001
41 33
11111001101110011101101011001001110001101
47 30
01101000100111000010010001011111101000100001001
45 4
100110110011100111011000100101001110011010011
46 14
0000100010111100010110110110101001001011000000
46 29
1111001011111100101101100101100111001100000100
48 30
011011101101011100011111000111000011010111111000
42 36
011000110001100000000110010110100111101110
44 19
10010010100011100101011011011001010001010101
40 32
0100011001011001111110101001110100100100
Expected Output
-1
-1
-1
-1
-1
-1
-1
-1
-1
2
1 4
13 40
Your Output
-1
-1
-1
-1
-1
-1
-1
-1
-1
2
8 37
3 4
Difference
Generator Parameters
--n_high 50 --n_low 40 --t_high 10 --t_low 10