Ticket 16424
Problem 1747 -d
Submission 180203710
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 1
1 0 1 1 0 1 0 
1 6
Expected Output
2
Your Output
-1
Difference
Generator Parameters
--q_high 1 --q_low 1 --n_low 7 --n_high 7 --ai_high 2