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.
Here us a 5x5 possible solution (if I understand the problem), but I have not convinced myself it is minimal:
Total sum = 26
Path 1 (follow the "arrows")
3 5 3 1 1
2 > v
2 > v
3 v < <
2 > v
4 > > > >
Path 2:
3 5 3 1 1
2 > v
2 v <
3 > > v
2 v <
4 > > > >

Posted by SteveH
on 20041101 22:44:41 