Stolen Goods sharing

Source: Internet
Author: User
You are a pirate who serves a famous pirate group. After years of fight, the pirate group currently has only one
Four members, and three other pirates except you are elders, and they are your eldest brother.
It's already high. You can't participate in the robbery, just share the treasure you brought back in the cave.
In the same way, you can sit in three chairs, respectively called Big Brother C, Big Brother B, and big brother a, because you are the only one to grab
But there are three big brother, so we often encounter conflicts due to the theft issue. One day, the three big
Let's have a meeting with you to discuss a fair way of sharing money.
Set a sharing plan

Requirement 1: the three big brothers share all their treasures to an important level. Big brother a accounts for 50% of all, and big brother B accounts for all.
30%, Big Brother C accounts for 20%.

Requirement 2: the three brothers have their own interests. Their favorite treasures are different, and their favorite types are also ordered.
Big A, first of all, prefers gold coins, second, jewelry, and finally weapons.
Huan jewelry, followed by clothing, and finally liked gold coins, not in addition to this; Eldest Brother C, first liked gold coins,
Second, I like weapons. I don't like weapons unless I like them.

Requirement 3: after each robbery, you must pay the gold coins, jewelry, weapons, and clothing to the three eldest brothers,
In addition, it is allocated to every Eldest Brother according to their preferences to make everyone feel reasonable. For example, you get some gold for the first time.
Currency, so we should first give it to big brother a, because he has the highest level, and he prefers gold coins most. If he gets it back for the second time
It is a gold coin, so it is necessary to give it to big brother C, because the previous big brother a has obtained a gold coin, and big brother B Although also
I like gold coins, but it is not my favorite. Therefore, this time we will distribute it to big brother C, and so on. You must ensure that every time
Distribution is reasonable and fair; otherwise, you will be overwhelmed by the anger of the eldest brother.

Requirement 4: The three brokers also have requirements on the total value of the treasures. Big Brother A requires that the total value be obtained within three months.
Big Brother B requires two stolen goods worth $10 thousand in two months. Big Brother C requires two
$ Three thousand worth of stolen goods within a month. For ease of accounting, a piece of gold coin is approved as $100, and a piece of jewelry is counted as 80
USD: $70 for a weapon and $50 for a garment.

Requirement 5: The three eldest brother should check the property at the end of each month, and the total value of all stolen goods obtained in the current month (by USD
Accounting) the proportion must be approximately in line with the status of the three big brother, that is to say, big brother a accounts for 50%, Big Brother B accounts
30%, Big Brother C accounts for 20%.

As ocean trade is booming, you can guarantee that you will receive a certain amount of treasures each day to these brothers.
Now, as the most brave, smartest, and loyal pirate in history, hurry up and take advantage of this.Algorithm
Right.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.