Ticket 16182
Problem 1733 -d1
Submission 172755128
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
8 5 3
11111111
00000000
6 3 3
011101
010000
Expected Output
12
-1
Your Output
14
-1
Difference
Generator Parameters
--n_high 10 --n_low 5 --t_high 2 --t_low 1 --x_high 9 --x_low 1