Ad
  • Custom User Avatar

    Do you think the message "1" or even "101" can be decoded? I think these are erroneous lines. The assignment says that a person can read, but what is obtained as a result of this cannot be read by a person. It's not even a bunch of noise, it's clearly not a real transmission line. It can and should be ignored, not decoded. The task is not correct.

  • Custom User Avatar

    it turns out this is important

    All of the rules are important! ;-)

  • Custom User Avatar

    Good task! It is very important to read carefully here. The first time was not attentive. The elevator stops for all calls, even if there is no room and no one gets out - it turns out this is important!

  • Custom User Avatar

    Thank You!

  • Custom User Avatar

    Read Kaboms's post below.

  • Custom User Avatar

    Wrong tests.

    It is map of floors:
    [[], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
    Capacity is 5
    My lift is:
    [0, 6, 5, 0, 5, 4, 0, 4, 3, 0, 3, 2, 0, 1, 0]
    Test lift is:
    [0, 6, 5, 4, 3, 2, 1, 0, 5, 4, 3, 2, 1, 0, 4, 3, 2, 1, 0, 3, 2, 1, 0, 1, 0]

    Test is ubnormal.

  • Default User Avatar

    Ok. Thank You.

  • Custom User Avatar

    You should read how to use markdown formatting

  • Custom User Avatar

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