Ticket 14033
Problem 1680 -c
Submission 161507158
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
010000001111000101101010011010000100000100011011110110101001101
111011111111111111011111111111111111111111101111111110111111
Expected Output
14
3
Your Output
16
3
Difference
Generator Parameters
--n_high 100 --n_low 10 --t_high 2 --t_low 1