Ad
  • Default User Avatar

    oops.. sorry. posted to wrong branch

  • Default User Avatar

    Did you get the last test to work somehow?

  • Custom User Avatar

    There shouldn't be any box blocking line of sight. So let's say the box you'd like to see is on level 1 and it's in the third row, if you look from the north then we cannot have any boxes on rows one and two.
    In the same scenario if special box is on level 2 then you can have boxes in row one and two up to level 1, but if you have another box on level 2 or higher, then you wouldn't see special box.

  • Custom User Avatar

    This would have been nice to know going in. I wound up with these numbers hard-coded based on test cases and had no idea why.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Could anybody help me to understand the question better?
    Is the question finding a direction to see the target, meaning that there isn't any block that isn't any other box align before on that direction before the box we want to find?

    I am unable to pass the test case with this preset, while I have checked the test case manually that my code works as expected.