Five pirates distribute 100 diamonds for the perfect solution!
Of course, a rational person's first consideration is to save his life.
First consider that there are only 4 and 5 left.
That's easy. 5 just don't agree.
So if 4 is afraid of death, 3 can't be killed.
So that leaves three, four, five,
At this time, 4 will definitely agree with 3, and 3 will definitely agree with itself, so 3 will get it. So I want the first two people to die, so I definitely disagree with the first two people.
Next, consider 2, 3, 4, 5,
2' s opinion 3 definitely disagrees, and 5 definitely disagrees, because as long as he disagrees, the person in front is dead, and he is not in danger of life, just seeking money, so don't think about it, just don't. Therefore, in order to save his life, he must save 1 first.
Finally, consider 1, 2, 3, 4, 5, 2 as consent for saving lives, and 4 as consent for saving lives, both of which are people who died without consent.
So 1 can make any conditions, and the biggest advantage is to make the distribution 100, 0, 0, 0.