An Invisible Maze is a square room with a tiled floor, in which the tiles form a grid. You may walk only to adjacent tiles (no diagonal moves). There is a number on the wall for each row and column of tiles. An Invisible Maze can have any numbers on the walls provided that it has at least one True Path. A True Path will take you from the northwest corner to the southeast corner, and the number of tiles you touch in each row and column is equal to the corresponding number on the wall.
There is an NxN tiled Invisible maze that has at least two different True Paths. Minimize N and then, using that N, minimize the sum of all the numbers on the wall.
Important: Two paths are considered the same even if they touch the exact same tiles in a different order.
I don’t plan on actually solving this, but I just wanted to clarify some things. (X is a tile that you touch)
1) Are you allowed to touch one tile twice? For example, is the following path legal?
X X X _ _
_ _ X _ _
X X X X X
X _ X _ X
X X X _ X
2) So what you’re saying about the numbers on the walls, is this:
4 3 5 1 3
3 X X X _ _
1 _ _ X _ _
5 X X X X X
3 X _ X _ X
4 X X X _ X
is that correct?
3) So the question of the problem is that you have your NxN maze (no X’s exist yet) and the numbers on the walls indicating how many X’s there will be in that row/column, and you should be able to find two different arrangements of Xs, both of which are legal paths.
4) The "Important" note means that if somewhere in my maze I have a 3x3 block of X’s, it doesn’t matter that I could go downdownrightupuprightdowndown as well as rightrightdownleftleftdownrightright, correct?

Posted by nikki
on 20041101 18:12:51 