I was going through one of the problems from the past IOI contests and got stuck..
Its the 1990 contest round 1 problem 1 .Please help me in this ,how to proceed???
Its the 1990 contest round 1 problem 1 .Please help me in this ,how to proceed???
The game is similar to "fifteen puzzle", but we have two empty cells, so problem is much more easy. You can just put digits on its places one by one.