Ticket 4324
Problem 1661 -e
Submission 153243385
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
3
011
110
011
2
3 3
2 2
Expected Output
2
1
Your Output
1
1
Difference
Generator Parameters
--n_high 15 --n_low 1 --q_high 9 --q_low 1