Ticket 6330
Problem 1674 -f
Submission 155684573
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
8 6 8
*.**..
.***.*
*.**..
*....*
..****
**..*.
******
....**
4 4
1 6
7 2
3 5
1 6
4 6
6 4
2 4
Expected Output
11
11
12
12
12
12
12
13
Your Output
12
12
13
13
13
13
13
14
Difference
Generator Parameters
--q_high 9 --q_low 1 --row_or_col_high 9 --row_or_col_low 1