Ticket 3250
Problem 1660 -e
Submission 152295517
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
3

4
0001
0010
0000
1101

4
1101
0111
1010
1010

2
10
00
Expected Output
5
8
1
Your Output
7
8
1
Difference
Generator Parameters
--n_cap 2000 --n_high 4 --n_low 1 --t_cap 10000 --t_high 3 --t_low 1