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 1367. Top Secret

I think the problem statement is slightly incorrect (+)
Posted by Michael Rybak (accepted@ukr.net) 21 Apr 2006 19:25
It says:

The Secret is a regular junction (+) with one of the objects of special interest contained inside. This object of interest is accessible from any of the four sides of the junction.

As far as I understand, "the four sides of the junction" means left, right, up and down. In this case, the answer for the following test:

..+..
..+..
++#++
..+..
..+.#

should be

10
01

because there's no way we can reach the middle Secret. Meanwhile, a program that outputs

11
11

gets AC, while the one that outputs what I think is correct gets WA at 6th test.

The clarification that may help people having this problem is: one can access the Secret object not only from those 4 sides, but also diagonally.
Re: I think the problem statement is slightly incorrect (+)
Posted by Denis Koshman 24 Aug 2008 04:56
Or those 4 sides are diagonal sides