Ad
  • Default 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.

  • Default 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?

  • Default User Avatar

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

  • Default User Avatar

    This comment has been deleted.