翻译一段句子,大意即可

来源:百度知道 编辑:UC知道 时间:2024/05/11 04:57:54
A group of NP (2 ≤ NP ≤ 10) uniquely named friends has decided to exchange gifts of money. Each of these friends might or might not give some money to any or all of the other friends. Likewise, each friend might or might not receive money from any or all of the other friends. Your goal in this problem is to deduce how much more money each person gives than they receive.

The rules for gift-giving are potentially different than you might expect. Each person sets aside a certain amount of money to give and divides this money evenly among all those to whom he or she is giving a gift. No fractional money is available, so dividing 3 among 2 friends would be 1 each for the friends with 1 left over -- that 1 left over stays in the giver's "account".

In any group of friends, some people are more giving than others (or at least may have more acquaintances) and some people have more money than others.

Given a group of friends, no one of whom has a na

一群姓名独特的朋友(2 ≤ 人数 ≤ 10)决定交换钱作为礼物。每个人可以给或者不给别人钱,也可以只给一个或者都给。也就是说,每个人有可能从任何一个人那里收到钱,也可能收不到钱。你要计算出每个人给出的钱比得到的钱多多少。
赠送礼物的规则可能和你预想的不同。每个人拿出一部分钱用来送给别人,并且把这部分钱平均分给他想要赠送的人。因为钱不能分成分数,所以当两个人分3块钱的时候,只能一人一块,然后剩余一块。这剩余的一块依然算进了这个人“当作礼物给出去”的部分。
在一组朋友中,有的人比别人给出的钱要多(或者认识的人多),有的人比别人拥有的钱多。
给你一组人,他们的名字都不长于14个汉字,每人当作礼物送出的钱,和他送给多少人钱,决定了组中每个人比别人给出或收到的钱多多少,或者少多少。

独特地命名朋友的一群 NP(2 ≤ NP ≤ 10) 已经决定交换钱的礼物。每一位这些朋友可能或不可能把一些钱给任何或所有其他朋友。同样地,每位朋友可能或不可能接受来自任何或所有其他朋友的钱。 这一个问题的你的目标将推论如何更多钱每个人给胜于他们接受。

规则为礼物-给是可能地不同的超过你可能期待。 每个人留存一些钱到平均地给而且分开这钱在所有的之中那些到谁他或者她正在给一个礼物。没有微少的钱是可得的,因此,为朋友,在 2位朋友之中的分度 3 会是 1 每个与 1 向左结束 -- 1 在送礼者中在停留之上离开\'s\"帐户 \".

在任何群体的朋友中,一些人正在更超过其他 (或者至少可能有较多的相识者) 给,而且一些人有的钱比其他多。

给一群朋友, 没有人谁有一个长于 14 的名字个性,钱每个在团体的人在礼物上花费, 和一连串的朋友到谁每个人给礼物, 决定多少更每个的人在团体中给胜于他们接受。