Ticket 16791
Problem 1809 -d
Submission 200129381
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
01010100
1111111
Expected Output
3000000000003
0
Your Output
4000000000003
0
Difference
Generator Parameters
--s_len_high 9 --s_len_low 1 --t_high 2 --t_low 1