SOLUTION
First it looks impossible to get even single coin , because all other pirates can vote against your proposal to get even that single coin from you.
Even if you not taken single coin also, they might vote against you since each one is such a greedy persons that they want all booty for themselves not giving anything to other pirates.
To solve this problem we need to follow the bottom to top approach.
i.e let's assume there is one pirate then obviously he gets the all the Coins
Now take case of 2-pirates
First pirate distributes coins as 100-0. Even second pirate votes against this proposal. proposal is accepted since first pirate got 50% votes since he votes for himself
Let's move on to 3-pirates case
Apart from your vote, you need another vote to approve your proposal
The next experienced pirate(2nd pirate) will vote against you since he get 100 coins if you die (take look at 2-pirates case)
You can give 1 gold coin to 3rd pirate and ask to vote in favour, he happily agrees because if he votes against you and move to 2-pirates case he gets no coins.
So you can distribute like 99--0--1 and you can get 99 coins without risking your life
Similarly for case of 4-Pirates
Apart from you, you need another vote to accept the proposal.
Next experienced pirate (i.e pirate-2) try to vote against you because he gets 99-coins if you die and situation moves to 3-Pirates case.
But Pirate-3 will favour you because he get 0-coins if situation moves to 3-Pirates case
You can give 1-coin to 3rd pirate and get his vote.
So distributions is like 99-0-1-0 and you can enjoy 99 coins
Similarly this logic can be extended for 5 ,6,7 ... pirates
In our 5-Pirates case Distribution should be like 98-0-1-0-1. so that you can get maximum booty without risking your life.
No comments:
Post a Comment