Ticket 7502
Problem 1680 -c
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
1
010001100000001110000000000110010010000000000000000000100000000010000001000001010000010101000110000000000000000000000000000000010000000000000000000000000000010000000000000110000001000001000000000000000011010000011100100001101010000000100000010010001000010000010000000000010000100000000011000000000010000000000100000000000000100000000100000001000001000010100010000000000000100010000000010010000000100001000000000000000000000000001100000001000000000001100000000000100000000010000001000001000000001000000000000100000110000000000000000000010000000110010000000000001000000101000000000000000000000001000000000010001100100000000000000000001000000000000000000000000000000001000001001000000010000000000000000100000000000000000100100000000000000000000000000000000010001001000000100010000000101000000101000000100000100000101000000000000000000000000000101100010000000010000000000000000000000
Expected Output
90
Generator Parameters
--n_high 1000 --n_low 1 --t_high 2 --t_low 1