ENG  RUSTimus Online Judge
Online Judge
Online contests
About Online Judge
Frequently asked questions
Site news
Problem set
Submit solution
Judge status
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
back to board

Discussion of Problem 1301. Cube in Labyrinth

In fact, the statement has an another mistake........
Posted by zmj159 14 Nov 2015 11:51
The first mistake was mentioned by people prior to me, and it can be easily corrected by understanding the sample I/O.
Anyway, the statement mentioned " Moreover, in the final position the upper side must be the same as it was in the initial position.", without emphasizing what shape the upper side may have.
So in this case, the sample I/O makes sense if and only if the upper side of the cube is a symmetrical shape.
Otherwise, you can make a cube by yourself, and draw an asymmetrical shape(e.g. enter shape) to simulate the sample, and you will find that it is IMPOSSIBLE to move 11 steps to satisfy the description.