Ticket 4322
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
5
00111
00010
11111
1
1 5
Expected Output
1
Your Output
2
Difference
Generator Parameters
--n_high 5 --n_low 1 --q_high 1 --q_low 1