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