ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1250. Sea Burial

What's the meaning of "Land fragments that are adjacent to the map's border are not considered as islands." ???
Posted by XueMao 20 Mar 2003 17:03
What's the meaning of "Land fragments that are adjacent to the map's
border are not considered as islands." ???

I can hardly understand it ! in the Example input, There is two
island adjacent to the map's border(the north-east corner and the
south-west corner) . but the answer is 3 !!! can anyone help me ?
See here (+)
Posted by Dmitry 'Diman_YES' Kovalioff 20 Mar 2003 17:35
In the first sample I checked the sacred islands' territory as '*':

........#
.*******.
.*.....*.
.*.*.*.*.
.*.....*.
.*******.
#........

So, there are 3 sacred islands. The land fragments in the corners of
the map are not the islands, because they are adjacent to the map's
border.
Re: See here (+)
Posted by shota 9 Dec 2018 18:40
but those islands are not in the same sea