Test Case for Question #4 in DWITE 2007-2008 High School Round 4
Contest: DWITE 2007-2008 High School Round 4
Question: #4
Input File: DATA4.txt
Output File: OUT4.txt
Input
..........
..........
..........
..........
X........X
..........
..........
..........
..........
..........
----------
..........
..........
..........
....#.....
X...#....X
....#.....
..........
..........
..........
..........
----------
....X.....
..........
..........
..........
.###......
...#......
...#......
...#......
...#######
....X.....
----------
..........
.########.
....#.....
....#.....
X...#....X
....#.....
....#.....
....#.....
.########.
..........
----------
.#..X.....
..#.......
...#......
....#.....
....#.....
....#.....
....#.....
....#.....
....###...
....X.....
----------
Output
9
9
10
15
9