Ticket 13298
Problem 1700 -f
Submission 161252164
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
18
0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 0 0 0 1 0 0 1 1 1 0 
0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 
1 0 0 1 0 1 1 0 1 1 1 1 1 0 1 0 1 1 
Expected Output
21
Your Output
23
Difference
Generator Parameters
--n_high 20 --n_low 5