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

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

What output must be if the sea is not closed? Tell me answer for this test...
Послано Alexey 4 май 2006 22:52
If the sea isn't closed (Can it be?) what should i output?
For example
9 7 1 1
........#
.########
.#.....#.
.#.#.#.#.
.#.....#.
.#######.
#........

Is the answer 0 or 2?
Thanks.

Edited by author 15.05.2006 18:15
Re: What output must be if the is not closed? Tell me answer for this test...
Послано Burunduk1 4 май 2006 23:59
Answer is 0
Re: What output must be if the is not closed? Tell me answer for this test...
Послано Alexey 6 май 2006 17:19

So, If the sea isn't closed, the answer must be 0?
Re: What output must be if the is not closed? Tell me answer for this test...
Послано Denis Koshman 5 авг 2008 16:40
No, it still may have islands. Just islands that are inside border land do not belong to any outer sea, but there can be others.