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

动态微博

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

二人猜数

[复制链接]

53

主题

363

帖子

4139

积分

跳转到指定楼层
楼主
发表于 2005-9-10 01:36:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

难度:++

二人猜数。甲在1到9中选一个奇数,乙在2到8中选一个偶数。如果两数差1,乙胜,否则甲胜。

问两人的最佳策略各是什么?如果两人都采取最佳策略,获胜的概率各是什么?

www.ddhw.com

 
回复

使用道具 举报

5

主题

168

帖子

1193

积分

沙发
发表于 2005-9-11 06:14:44 | 只看该作者

回复:二人猜数


This can be formulated as a max-min problem..., is there an simpler approach?
www.ddhw.com

 
回复 支持 反对

使用道具 举报

210

主题

3101

帖子

8万

积分

板凳
发表于 2005-9-11 06:39:29 | 只看该作者

[@};-][@};-][>:D<]Nice to you again, QL. .....


Could you give some details about your max-min approach?
www.ddhw.com

 
回复 支持 反对

使用道具 举报

213

主题

1162

帖子

1万

积分

地板
发表于 2005-9-11 09:20:45 | 只看该作者

欢迎QL回来,问好..[@};-][@};-][>:D<]


  欢迎QL回来,问好..




回复 支持 反对

使用道具 举报

5

主题

168

帖子

1193

积分

5#
发表于 2005-9-11 20:41:16 | 只看该作者

回复:欢迎QL回来,问好..[@};-][@};-][>:D<]


Thanks.
www.ddhw.com

 
回复 支持 反对

使用道具 举报

5

主题

168

帖子

1193

积分

6#
发表于 2005-9-11 20:49:49 | 只看该作者

回复:[@};-][@};-][>:D<]Nice to you again, QL. .....


Assume 甲's strategy is to randomly pick an odder number with probablity p1,p3,...,p9
and 乙's stragetgy is to randomly pick an even number with probability q2,q4,...q8
Then 乙 pick q's so as to maximize
p1*q2+p3*(q2+q4)+....p7*(q6+q8)+p9*q8
and 甲 minimize the resulting formular.
www.ddhw.com

 
回复 支持 反对

使用道具 举报

53

主题

363

帖子

4139

积分

7#
 楼主| 发表于 2005-9-14 19:51:01 | 只看该作者

Answer


The best strategy for A is to choose 1, 5, and 9 with probablity 1/3 each. It can be calculated that A can win at least 2/3 of the time no matter what B does.
 
The best strategy for B is to choose 2 and 8 with probability 1/3  each, and 4/6 with a combined probability 1/3. It can be calculated that B wins at least 1/3 of the time no matter what A does.
 
 
www.ddhw.com

 
回复 支持 反对

使用道具 举报

210

主题

3101

帖子

8万

积分

8#
发表于 2005-9-15 03:14:31 | 只看该作者

Good[@};-][@};-] But a small question for you ....


.....A can win at least 2/3 of the time .....
.....B wins at least 1/3 of the time .....www.ddhw.com

Are these two statements a little contradicting?www.ddhw.com

 
回复 支持 反对

使用道具 举报

53

主题

363

帖子

4139

积分

9#
 楼主| 发表于 2005-9-15 19:29:56 | 只看该作者

回复:Good[@};-][@};-] But a small question for you .


These two statements are not contradicting to each other, since we have >= and <=. Together they guarantee that both strategies are optimal: If applied together, A wins 2/3 of the time, B 1/3, which answers part 2.
www.ddhw.com

原贴:
文章来源: husonghu® 于 2005-9-14 19:14:31
标题:Good But a small question for you ....


.....A can win at least 2/3 of the time .....
.....B wins at least 1/3 of the time .....

Are these two statements a little contradicting?

 

www.ddhw.com

 
回复 支持 反对

使用道具 举报

226

主题

1358

帖子

1万

积分

10#
发表于 2005-9-22 21:07:06 | 只看该作者

Thanks a lot for your expensive flower!! [@};-][@}


  Thanks a lot for your expensive flower!! [@}




回复 支持 反对

使用道具 举报

53

主题

363

帖子

4139

积分

11#
 楼主| 发表于 2005-9-22 22:07:05 | 只看该作者

我的花和别人一样钱呀。(莫非别人有discount?[:((])


  我的花和别人一样钱呀。(莫非别人有discount?




回复 支持 反对

使用道具 举报

226

主题

1358

帖子

1万

积分

12#
发表于 2005-9-22 23:11:35 | 只看该作者

You sold your posts for less money than they


really worth.
www.ddhw.com

 
回复 支持 反对

使用道具 举报

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

          本版积分规则

          Archiver|手机版|珍珠湾ART

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