Microsoft interview test

Wrong question, it should be five pirates. If 1 dies, No.2 puts forward a distribution plan, and then the remaining four people vote. This is a cottage topic, and the conditions before and after can't be achieved together. Sharing gold coins by pirates is a very classic topic. When solving, suppose you are 65438 +0, what will happen if you die. No.2 will put forward a plan, and No.3 must agree unconditionally. No.5 can be divided equally, and No.2 can monopolize 100, so No.3 has none, so it's easy to divide. 1 is his own, so he needs 98, 3 and 4 and 5 to give him 1 at will, so he can definitely pass, 1 died.