Ticket 4386
Problem 1661 -e
Submission 153211999
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
14
10011111110111
00001000110001
00101111101111
6
2 11
4 9
4 10
9 14
2 13
6 10
Expected Output
3
1
1
2
4
1
Your Output
2
1
0
2
3
1
Difference
Generator Parameters
--n_high 15 --n_low 1 --q_high 9 --q_low 1