Ticket 11805
Problem 1691 -c
Submission 160043889
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
43 18
0000000000000100000000000000000000000000000
48 5
000000101101101010100000101000110001100100010000
Expected Output
10
166
Your Output
11
166
Difference
Generator Parameters
--k_high 100 --k_low 0 --n_high 100 --n_low 2 --t_high 2 --t_low 1