Ticket 4481
Problem 1661 -e
Submission 153245074
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
0101000110
0111110111
1011101111
5
5 7
8 10
5 8
2 9
3 10
Expected Output
2
1
2
2
2
Your Output
2
1
2
3
2
Difference
Generator Parameters
--n_high 15 --n_low 1 --q_high 9 --q_low 1