Ticket 17109
Problem 1580 -a
Submission 228786131
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
6 5
00100
01011
10001
00101
10001
01010
Expected Output
4
Your Output
6
Difference
Generator Parameters
--col_high 6 --col_low 4 --row_high 6 --row_low 5 --t_high 1 --t_low 1