Ticket 7487
Problem 1680 -c
Submission 158351057
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
2
00100111011111111111001110011101011001011111101101100111011111101110100000011000111011011100
0000010000000100010
Expected Output
15
2
Your Output
17
2
Difference
Generator Parameters
--n_high 100 --n_low 1 --t_high 2 --t_low 1