Wednesday, May 20, 2009

The pistol duel


You are a cyborg in a pistol duel with two other cyborgs. You have been programmed to fire pistols with an accuracy of 33%. The other two cyborgs shoot with accuracies of 100% and 50% respectively.
The rules of the duel are one shot per-cyborg per-round. The shooting order is from worst shooter to best shooter. Thus, you go first, the 50% guy goes second, and the 100% guy goes third; repeat. If a cyborg dies, we just skip his or her turn. Which cyborg should you shoot at in round one to maximize your chances of survival over time?

Link to the Solution

6 comments:

thrsad said...

shoot self.. life of a cyborg sux newayz

Dhruvan said...

The one with 100% shooting accuracy...

chaos said...

lol @ thread .. good one :)

Dilip said...

@Dhruvan: Why so?

Sujit said...

You would shoot the cyborg with 100% accuracy. The reason for that is as follows.

If your first shot is the accurate shot, then you would have killed the 100% accuracy cyborg and you have a 50% chance of survival. On the other hand, if you aim at 50% and kill him, then you sure to be gone, when the 100% cyborg gets a chance.

If your first shot is not accurate, then the 50% cyborg gets a chance. He also chooses the 100% guy for the same reason you did. If he hits the 100% cyborg, then you get another chance to hit the 50% cyborg. If you don't make it then also, you deserve to die.

If the 50% cyborg does not hit the 100% cyborg, then the 100% cyborg has 2 choices. He can either shoot you or the 50% cyborg. Since the 50% already missed one, he is bound to make the next one. So the 100% guy aims for him and gets him. In this case too, you get another shot.

Sujit

Unknown said...

Simple.....you shoot the guy with 100% accuracy!!!