Ticket 12436
Problem 1672 -h
Submission 154776841
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
8 6
10100111
3 5
2 3
3 3
3 6
3 4
1 8
Expected Output
2
1
1
2
1
3
Your Output
2
1
1
1
1
4
Difference
Generator Parameters
--n_high 9 --n_low 1 --q_high 9 --q_low 1