找回密码
 立即注册
搜索
总共850条微博

动态微博

查看: 1377|回复: 11
打印 上一主题 下一主题
收起左侧

均贫富

[复制链接]

158

主题

544

帖子

9110

积分

跳转到指定楼层
楼主
发表于 2006-1-16 21:26:41 | 只看该作者 回帖奖励 |正序浏览 |阅读模式

难度:+++

 www.ddhw.com

大圆形赌桌上坐着很多人。赌局开始每人都有几个(蓝)筹码。随着赌局的进行,牌打得好的人面前蓝筹码越来越多,牌打得不好的人蓝筹码输光了,变成红筹码。(蓝筹码表示正分,红筹码表示负分。)这时庄家出来说要搞一搞均贫富。他的方法是:从有红筹码的人中随机选一个出来,把他的红筹码都变成蓝筹码,同时,为保持总分平衡,从他的两个左右邻居中每人减掉相应的蓝筹码(或添加相应的红筹码)。比如,A有5个红筹码,他的左邻有8个蓝筹码,右邻有3个蓝筹码。对A均贫富以后,A的5个红筹码变成5个蓝筹码。他的左邻变成3个蓝筹码,而他的右邻变成2个红筹码。再比如,A有15个红筹码,他的左邻有18个蓝筹码,右邻有3个红筹码。对A均贫富以后,A的15个红筹码变成15个红筹码。他的左邻变成3个蓝筹码,而他的右邻变成18个红筹码。

 www.ddhw.com

1)现在知道,桌面上蓝筹码的总数比红筹码多。试证明如果一直这样均贫富下去,一定能使桌上不存在任何有红筹码的人。

 www.ddhw.com

2)需要搞多少次均贫富才能使桌上不存在有红筹码的人? (求出上界,或找出计算方法。)

www.ddhw.com

 
回复

使用道具 举报

0

主题

59

帖子

354

积分

12#
发表于 2006-1-22 06:15:13 | 只看该作者

愿闻其详


  愿闻其详




回复 支持 反对

使用道具 举报

158

主题

544

帖子

9110

积分

11#
 楼主| 发表于 2006-1-22 02:56:40 | 只看该作者

Interesting thought,


and looks like it should work. But the best solution is much simpler, and it gives a traight forward upper bound.
www.ddhw.com

 
回复 支持 反对

使用道具 举报

0

主题

59

帖子

354

积分

10#
发表于 2006-1-22 00:11:16 | 只看该作者

回复:还有人想吗?


让 constant 的好题晾了半天,不好意思,实在是比较忙。我敲中文太慢,下面用英文简单地说一下我的想法。www.ddhw.com

Let's consider the simplest case of two numbers {X0,Y0}, where X0+Y0 = D > 0. Without losing generality, assume X0 > 0, Y0 < 0. After the first round of operation, {X0,Y0} becomes {X1,Y1}, where X1=X0+2*Y0 (since X0 is both the left and right neighbor of Y0), and Y1=-Y0. If X1<0, then the operation is applied again, we get {X2,Y2}, and so on.

Generally speaking, all {Xi,Yi} pairs are points on the line X+Y=D. It is not difficult to prove that no matter where the initial point {X0,Y0} is, eventually after n round, where n=floor(-Y0/D), {Xn,Yn} will fall into the interval where Xn and Yn are both positive.

For cases where we have more than two numbers, they are essentially equivalent to the case of two numbers if we observe the following properties.www.ddhw.com

i) Each operation only affect the immediate neighboring points;
ii) Each operation does not change the sum of any set that includes the affected points.

Therefore we can always partition the whole set into two subsets, after a finite number of operations, the sum of both subsets becomes positive. If there are still some negative numbers inside the subsets, similar analysis can be applied again.

A strict proof will probably take many more words.www.ddhw.com

 
回复 支持 反对

使用道具 举报

158

主题

544

帖子

9110

积分

9#
 楼主| 发表于 2006-1-21 15:58:48 | 只看该作者

还有人想吗?


  还有人想吗?




回复 支持 反对

使用道具 举报

0

主题

59

帖子

354

积分

8#
发表于 2006-1-18 21:36:56 | 只看该作者

好题!


已经有些想法了,但觉得要清楚地写出来会比较长,有空时再写。www.ddhw.com


 
回复 支持 反对

使用道具 举报

158

主题

544

帖子

9110

积分

7#
 楼主| 发表于 2006-1-18 20:56:23 | 只看该作者

给个提示:这题和计算机算法(sorting)有关。


  给个提示:这题和计算机算法(sorting)有关。




回复 支持 反对

使用道具 举报

5

主题

168

帖子

1193

积分

6#
发表于 2006-1-17 04:59:18 | 只看该作者

回复:回复:回复:均贫富


You are right. I didn't think about it very carefully.www.ddhw.com
 
www.ddhw.com

 
回复 支持 反对

使用道具 举报

456

主题

1770

帖子

2万

积分

5#
发表于 2006-1-17 04:34:16 | 只看该作者

回复:均贫富


Set the initial number of  chips for each person is Ni.  Set # of red chip is Nr,  and blue chips is Nb. Initially, Nrwww.ddhw.com
回复 支持 反对

使用道具 举报

10

主题

271

帖子

1996

积分

地板
发表于 2006-1-17 01:42:53 | 只看该作者

回复:回复:均贫富


Is the argument "the total number of red chips will not increase during this process" correct?
Consider these three people with chips 3, -10, 3.  The outcome after the process is -7, 10, -7.
The number of red chip is 10 before, and 14 after.
www.ddhw.com

 
回复 支持 反对

使用道具 举报

5

主题

168

帖子

1193

积分

板凳
发表于 2006-1-17 00:41:38 | 只看该作者

回复:均贫富


I guess the first one is not very hard: Just notice the fact that the total number of red chips will not increase during this process, in fact, the only time that the number of red chips remains unchanged is when, both of the neibours have red chips (i.e., all the three involved guys have only red chips). Suppose there are totally n people in the game, and totally k red chips, it is easy to see that the number of red chips will keep unchanged for at most [n/2] steps, in another word, after every [n/2]+1 step, the total number of red chips will be reduced at least by 1. This gives one upper bound for question 2: k*([n/2]+1)
Of cause, this upper bound is overly conservative, anyone cares to give a better one or even the superemum? 
www.ddhw.com

 
回复 支持 反对

使用道具 举报

105

主题

486

帖子

6801

积分

沙发
发表于 2006-1-16 22:24:31 | 只看该作者

我想過了哈﹐沒想出來﹗


你看﹐難題才有挑戰性嘛﹗讓大夥兒多想想﹐才有成就感啊
www.ddhw.com

 

  本贴由[LOTUSEATER]最后编辑于:2006-1-16 14:42:40  

回复 支持 反对

使用道具 举报

24小时热帖
    一周热门
      原创摄影
        美食美文
          您需要登录后才可以回帖 登录 | 立即注册

          本版积分规则

          Archiver|手机版|珍珠湾ART

          Powered by Discuz! X3 © 2001-2013 All Rights Reserved