Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.
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!
Thank You!
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.
Ok. Thank You.
This comment is hidden because it contains spoiler information about the solution