|
|
back to boardMy program has WA#14 My program has WA#14. Breaking at me a mistake? Who can help me? I shall be very grateful. Give me the tests. Me the test, when the sea not closed interests. Somebody can answer this question? Please help. Here my tests with answers of my program: 1 Test: 9 7 1 1 ........# .######## .#.....#. .#.#.#.#. .#.....#. .#######. #........ The answer: 0 2 Test: 12 8 2 2 ############ #...#......# #...#.....## ###.#.#.#### #.#.#.#...## #..##..##..# #..........# ############ The answer: 2 3 Test: 6 6 3 4 ###### #....# #....# #....# #....# ###### The answer: 0 4 Test: 12 10 2 3 #######....# #....##....# #....##....# #....##....# #....##....# #....##....# #..........# #....#..#.#. ############ #....###...# The answer: 0 5 Test: 12 10 3 4 #######....# #....##..#.# #....##.#..# #....##....# #....##..#.# #..#.##....# #.#........# #....#..#.#. ############ #....###...# The answer: 5 Please help, please...... Thanks beforehand Re: My program has WA#14 Try such test: 18 14 12 3 ........#........# .#######..#######. .#.....#..#.....#. .#.#.#.#..#.#.#.#. .#.....#..#.....#. .#######..#######. #........#........ ........#........# .#######..#######. .#.....#..#.....#. .#.#.#.#..#.#.#.#. .#.....#..#.....#. .#######..#######. #........#........ Answer is 2 Re: My program has WA#14 (oops, that helped me with WA4 :) |
|
|