A devil force developed a programe intending to destroy 52 countries.
Each country had been given a button with number( 1 to 52),forming a circle,with an (ABORT) button between number 52 and 1,these buttons are on a circular rotating disk.This disk will rotate randomly(either clockwise or anti- clockwise)according to a given programe,the programe can manage howmany steps should the disk rotates only and can not control the direction of the rotation,by reaching any number ,that button will be activated and a land having that number will be vanished!,The original programe was on (ABORT)as a start point,given an order...( Go ONE step)!.
If you were able to reach this programe, and able to change it, i.e. change the steps to be moved and to select the start position, how can you save maximal number of countries,knowing that:
1-Clockwise rotation means going (for example)from number 3 ,2,1,abort,52,51.....,where as anti-clockwise,goes from
3,4,5,6......
2-You can control the steps to be moved,and should be done only once,when the programe begins,it will never stop.
3-The rotation will randomly begins either clockwise or anti-clockwise,and will be fixed to that wise(i.e. only at the start will be at random).
4-The maximal steps to be given must not exceed 52 steps.
5- If the progame reachs a country which was already destroyed,it will no more obay your programe and will move step by step to destroy all the remaining countries.
6- The start point will not be destroyed at the most begining.
7- The programe can also use the button numbers as a guide.
8-The only way to stop the programe is by reaching the (ABORT)button.
9-There should be a given number of steps given,or the programe will move step by step(i.e. NO.. move 0 steps).
Question
wolfgang
A devil force developed a programe intending to destroy 52 countries.
Each country had been given a button with number( 1 to 52),forming a circle,with an (ABORT) button between number 52 and 1,these buttons are on a circular rotating disk.This disk will rotate randomly(either clockwise or anti- clockwise)according to a given programe,the programe can manage howmany steps should the disk rotates only and can not control the direction of the rotation,by reaching any number ,that button will be activated and a land having that number will be vanished!,The original programe was on (ABORT)as a start point,given an order...( Go ONE step)!.
If you were able to reach this programe, and able to change it, i.e. change the steps to be moved and to select the start position, how can you save maximal number of countries,knowing that:
1-Clockwise rotation means going (for example)from number 3 ,2,1,abort,52,51.....,where as anti-clockwise,goes from
3,4,5,6......
2-You can control the steps to be moved,and should be done only once,when the programe begins,it will never stop.
3-The rotation will randomly begins either clockwise or anti-clockwise,and will be fixed to that wise(i.e. only at the start will be at random).
4-The maximal steps to be given must not exceed 52 steps.
5- If the progame reachs a country which was already destroyed,it will no more obay your programe and will move step by step to destroy all the remaining countries.
6- The start point will not be destroyed at the most begining.
7- The programe can also use the button numbers as a guide.
8-The only way to stop the programe is by reaching the (ABORT)button.
9-There should be a given number of steps given,or the programe will move step by step(i.e. NO.. move 0 steps).
Enjoy saving the world!
Link to comment
Share on other sites
13 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.