alloncrazy
版主
Rank: 10Rank: 10Rank: 10
笑话天地/脑筋急转


灌水天才奖   社区活动参与奖  
UID 19968
精华 2
积分 8
帖子 46915
原创币 116497 YCB
贡献值 1719 GX
原创值 23 YC
活跃值 1114 HY
阅读权限 100
注册 2006-7-17
性 别:  ♀ MM 未婚
论坛团队:  FTP 爱好团员
状态 离线
发表于 2008-4-11 10:26  资料  个人空间  短消息  加为好友 

[04-11] 发钻石

国王忽然心血来潮想奖给你一颗钻石(做梦),他定了个规矩,一共给你看100颗钻石,每颗钻石的价值不同,可以编号为比如1到100,1号最大,100号就小了,钻石是随机一颗一颗端到你面前来的,每次一颗,看完这颗你就得决定要不要,要就拿走,不要就再端下一颗。为了尽可能拿到大的钻石,你应该采取什么策略呢?

QUOTE:


[hide=9999]
你的答案:
[/hide]


参考答案:
i've come across a similar question. i first found out the formula for the prob(largest diamond) as function of N (remaining number of diamonds), then locate maximum point of curve by normal approach. anyway here's answer:

pass the first 100/e (where e is about 2.7), and choose the first diamond larger than largest one seen in the first 100/e. The chance of getting the largest piece is about 1/e.

[ 本帖最后由 alloncrazy 于 2008-5-1 10:05 编辑 ]

顶部
cheerbeans
上兵
Rank: 4


UID 76892
精华 0
积分 1
帖子 2251
原创币 3290 YCB
贡献值 69 GX
原创值 0 YC
活跃值 50 HY
阅读权限 20
注册 2008-1-21
性 别: 
论坛团队:  新手摸索中
状态 离线
发表于 2008-4-11 18:21  资料  个人空间  短消息  加为好友 

**** 本内容积分高于 9999 才可浏览 ****


本帖最近评分记录
alloncrazy   2008-4-12 21:35  原创币  +16   还有更好的答案!




一颗人见人不爱、人见人不疼、灰溜溜、皱兮兮的小豌豆
顶部
 



当前时区 GMT+8, 现在时间是 2008-5-17 14:06
鄂ICP备05002946号

Powered by Discuz! 5.5.0 ? 2001-2007 Comsenz Inc.
Processed in 0.049812 second(s), 11 queries , Gzip enabled

传奇私服 - DHC - 清除 Cookies - 联系我们 - 原创地位论坛 - Archiver - WAP