Draw a circle ,devide it into 12 points,give each point a number (1 to 12) according to your own stratigy.
A robot will fly around this circle in one direction(clockwise ),when he stops on a given point he will dig a hole there!...so the robot will do these steps repeatedly:
1-read the number standing on.
2-dig a hole.
3-fly so many steps according to number from step 1.
4- go to 1
the mission will fail if the robot falls into a hole..
Start the mission by placing the robot on any point of your choice,,,press...GO..!!and the robot will do his job perfectly as written above.
Try to make a strategy which will lead to dig maximal number of holes.
The number standing on will not be counted....for example:
if your numbers where, 8..2..12..5..3.....etc.,
if you decided to put the robot on number 2 as a start point...so
Question
wolfgang
Draw a circle ,devide it into 12 points,give each point a number (1 to 12) according to your own stratigy.
A robot will fly around this circle in one direction(clockwise ),when he stops on a given point he will dig a hole there!...so the robot will do these steps repeatedly:
1-read the number standing on.
2-dig a hole.
3-fly so many steps according to number from step 1.
4- go to 1
the mission will fail if the robot falls into a hole..
Start the mission by placing the robot on any point of your choice,,,press...GO..!!and the robot will do his job perfectly as written above.
Try to make a strategy which will lead to dig maximal number of holes.
The number standing on will not be counted....for example:
if your numbers where, 8..2..12..5..3.....etc.,
if you decided to put the robot on number 2 as a start point...so
1-read..(2)
2-dig a hole in this place.
3-fly to (5).
4-go to 1
1-read (5)....and so on.....
Edited by wolfgangLink to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.