Ticket 4321
Problem 1661 -e
Submission 153242903
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
9
110001100
101000100
011011101
1
2 8
Expected Output
3
Your Output
4
Difference
Generator Parameters
--n_high 10 --n_low 1 --q_high 1 --q_low 1