So the explanation is:- Lets say,, there were only 2. Then the top guy does not need any vote. He will keep all 100. But the bottom guy can see this. So when 3 people were alive, he will support the 3rd guy. The third guy is greedy and he will keep 99 and give 1 to bottom guy. Bottom fellow will happily take that coin.
But, the second guy knows this. So when the 4th guy was alive, he would vote for him and take 1 coin from him. But, the third guy has already figured it out. So he will take whatever the 5th guy offers! Now the 5th guy will give 1 each to 3rd and first. On Thu, Apr 21, 2011 at 3:21 PM, durgaprasad k <[email protected]> wrote: > @vaibhav : if they dont agree for 1 gold icon they will be thrown out. so > they will accept the 1 gold coin to stay on . > > > > On Thu, Apr 21, 2011 at 3:10 PM, vaibhav agrawal <[email protected]>wrote: > >> Why the two pirates would agree when they are getting only one coins each? >> >> >> On Thu, Apr 21, 2011 at 3:05 PM, harshit agrawal < >> [email protected]> wrote: >> >>> thwy will be shared according to >>> senior most pirate(5th)=98 >>> 4th =0 >>> 3rd =1 >>> 2nd=0 >>> 1st =1 >>> >>> >>> On Thu, Apr 21, 2011 at 2:54 PM, Anders Ma <[email protected]> wrote: >>> >>>> the coins will be shared the way the oldest pirate proposes. >>>> >>>> On Thu, Apr 21, 2011 at 3:51 PM, Lavesh Rawat <[email protected]> >>>> wrote: >>>> > Pirate Puzzle >>>> > >>>> > 5 pirates of different ages have a treasure of 100 gold coins. >>>> > On their ship, they decide to split the coins using this scheme: >>>> > The oldest pirate proposes how to share the coins, and all pirates >>>> remaining >>>> > will vote for or against it. >>>> > If 50% or more of the pirates vote for it, then the coins will be >>>> shared >>>> > that way. Otherwise, the pirate proposing the scheme will be thrown >>>> > overboard, and the process is repeated with the pirates that remain. >>>> > >>>> > Assuming that all 5 pirates are intelligent, rational, greedy, and do >>>> not >>>> > wish to die, (and are rather good at math for pirates) what will >>>> happen? >>>> > >>>> > Update Your Answers at : Click Here >>>> > Solution: >>>> > Will be updated after 1 day >>>> > >>>> > -- >>>> > >>>> > "Never explain yourself. Your friends don’t need >>>> it and >>>> > your enemies won’t believe it" . >>>> > >>>> > -- >>>> > You received this message because you are subscribed to the Google >>>> Groups >>>> > "Algorithm Geeks" group. >>>> > To post to this group, send email to [email protected]. >>>> > To unsubscribe from this group, send email to >>>> > [email protected]. >>>> > For more options, visit this group at >>>> > http://groups.google.com/group/algogeeks?hl=en. >>>> > >>>> >>>> >>>> >>>> -- >>>> Regards >>>> Anders >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Algorithm Geeks" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> For more options, visit this group at >>>> http://groups.google.com/group/algogeeks?hl=en. >>>> >>>> >>> >>> >>> -- >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Harshit Agrawal >>> MNNIT Allahabad >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Algorithm Geeks" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Regards Kunal Yadav (http://algoritmus.in/) -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
