Ticket 16489
Problem 1733 -d2
Submission 182957324
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
10 2 8
1111111011
1011100001
Expected Output
10
Your Output
12
Difference
Generator Parameters
--n_high 10 --n_low 10 --t_high 2 --t_low 1 --x_high 9 --x_low 1 --y_high 9 --y_low 1