Discussion
Do not post solutions here. This page is intended only to ask questions about problem, tips if you stuck or discuss problem in general.
Loading
Just a moment, getting data from the server
i dont get it, can spider jump on the fly? for example what happens if spider is on the ceiling can it jump on the fly or it should go across walls
Khayyam7 normally if spider could jump it would have been in the statement. The spider cannot jump and must cross one of the walls to get to the floor. Furthermore, in the statement it says the spider is positioned on the wall or on the floor.
I received a processing time error, but such an error should not have occurred, the question is problematic :)
user470803 note that values are provided in two lines, three integers in the first line and five integers in the second. Make sure you are reading input data correctly using "Run" mode.