Ad
  • Custom User Avatar

    I understood. Thank you.

    At first it seemed illogical to me, since if the personal is constantly visible (it doesn't matter if there is light or not) then we will 100% return his window.

  • Custom User Avatar

    1B has been sight at some point, but not during the entire night.

    At least two neighbouring apartments of A toggled lights four or more times during the night, while the occupant of apartment A wasn't consistently in sight that night.

  • Custom User Avatar
    Block: 
    [[0, 0, 0], [0, 3, 0], [0, 0, 0]],
    
    Observations: 
    [['1A', 1], ['1A', 0], ['1A', 1], ['1A', 0], ['1B', 3], ['2B', 0], ['2B', 1], ['2B', 0], ['2B', 1]]
    

    Switches 1A and 2B 4 times. And the answer should be: [ '1B', '2A' ] BUT in "observations" there is ['1B', 3]. That is, a person appeared in the window(with a light). He shouldn't be in the answer. The answer should be:[ '2A' ].

    Did I misunderstand something? Or is there a problem with my solution?

  • Custom User Avatar

    Брат. Поддержка💪💪
    Я такой же.

  • Custom User Avatar

    This comment has been deleted.