Ticket 16475
Problem 1761 -e
Submission 181809468
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
1
5
00011
00000
00001
10000
10100
Expected Output
1
3
Your Output
1
5
Difference
Generator Parameters
--n_high 5 --n_low 5 --t_high 1 --t_low 1