Ticket 2801
Problem 1658 -a
Submission 151127900
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
2
57
011011101110000000100000110110111011110011101110111101101
1
0
Expected Output
23
0
Your Output
23
1
Difference
Generator Parameters
--n_cap 100 --n_high 100 --n_low 1 --t_cap 1000 --t_high 2 --t_low 1