ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1250. Захоронения в океане

My program has WA#14
Послано Zubyk Taras(Khmelnitsky) 28 май 2006 13:45
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
Послано Denis Koshman 5 авг 2008 16:37
Try such test:
18 14 12 3
........#........#
.#######..#######.
.#.....#..#.....#.
.#.#.#.#..#.#.#.#.
.#.....#..#.....#.
.#######..#######.
#........#........
........#........#
.#######..#######.
.#.....#..#.....#.
.#.#.#.#..#.#.#.#.
.#.....#..#.....#.
.#######..#######.
#........#........

Answer is 2
Re: My program has WA#14
Послано Denis Koshman 5 авг 2008 16:38
(oops, that helped me with WA4 :)