Ticket 16682
Problem 1733 -d1
Submission 188023870
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
7 4 3
1100011
0000000
7 9 6
0000000
0101011
Expected Output
6
12
Your Output
8
21
Difference
Generator Parameters
--n_high 10 --n_low 5 --t_high 2 --t_low 1 --x_high 9 --x_low 1