As The Wings Of Perfect Flame Glow Out Of Passion.

Thursday, June 22, 2006

Logic.

Situation:
There's this robot with no sensory perception. He can do the following commands :
Go to X - Go to the specified location.
Pickup - Picks up anything that's in the robot's current location. If the robot has something on its hand, it can't pick up anything.
Putdown - Puts down anything the robot has in its hand. If the robot has nothing on its hand, it can't put down anything.

The Places:
Table -
The table has nothing on top of it.
Box 1 - Has something on it.
Box 2 - Has something on it.
Outside - Problem ends if robot can get out.

TO go outside, the robot must put a key on the pile beside the door, beside the door, there is a pile, the robot must get the pile out. The keys are located in either of the box. The other box contents is undetermined.

Hint: The process is atleast 22 moves.

---
Nagawa ko to, kaso parang mali eh. Try nio nga den mail nio sakin. Thanks.

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home