About the problem that five pirates robbed 100 gem.

Topic: If and only if more than half of the people agree, according to his proposal, one's own life comes first, the gem comes second, and the lives of others come third.

A. When there are only No.4 and No.5 left, the distribution of No.4 must be (0, 100), that is, No.4 has 0.

B. When No.3, No.4 and No.5 remain, the division is (100,0,0); No.4 will agree to this division, because if No.4 objects, No.3 will be sacrificed, and in the end he will still be a gem. Judging from the meaning of the question, he will choose to agree.

C. When there are 2,3,4,5 left, the distribution is (100,0,0); No.4 and No.5 will agree to this division, because if one of them objects, they will go to the division of B, and in that division, both 4 and 5 are zero, so the sacrifice of No.2 is futile. It can be seen from the meaning of the question that No.4 and No.5 will not object.

D. So the division of the number 1 is (100,0,0); No.4 and No.5 will agree to this division. If they don't agree, according to the above statement,No. 1 will be sacrificed in vain, and they will still get nothing. Judging from the meaning of the question, they won't object.

So the most positive solution is100,0,0,0. Of course, 1 You can divide them randomly if you are in a good mood, but if you maximize the benefits according to the topic, the result is 100, 0, 0.