Ticket 16496
Problem 1733 -d2
Submission 182959738
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
28 10 42
1111111110011111111111111111
0011101111101101011000001101
Expected Output
130
Your Output
129
Difference
Generator Parameters
--n_high 30 --n_low 10 --t_high 1 --t_low 1 --x_high 10 --x_low 1 --y_high 50 --y_low 1