You're trapped in a maze. There is a way out. Path junctions are all 3-way.
If you use the strategy of always taking the path going right, what will happen?
(Note: This problem is deliberarely vague.)
1) the chances cannot be 1/2 using what you have said before. always taking right hand path.
using your method of creating a maze you will NEVER EVER leave if the exit is on the left hand maze
and your chances decrease with other factors
that means that your equations are faulty
2) your maze is unrealistic. your question is more like "there are 3 teleporters in each room" you enter through teleporter 1 (center (from last "room") and take telporter 2 (right hand side) everytime. this is because your rooms are not really attached
A real maze would either
1) use a tree
2) use a matrix of some sorts
|
Posted by qball
on 2002-07-06 00:46:45 |