考考你

茶余饭后 Wind from east fish bite least. Wind from west fish bite best

考考你

楼层:#1  帖子FishingToday » 25 9月 2015 21:33

朋友的孩子问一道题,离散数学,感觉很简单但却不知从何入手,大学的东西早丢在泗县湖里了。 :roflmao

写个小程序当然可以解决,但不符合要求。 各位老大,你会吗?

Snow White has 50 (American) one-dollar bills, which she wishes to divide up among seven different [2]
dwarves. Each dwarf may receive any integral (whole) number of bills, from 0 to 50. How many
different ways can she distribute this money?
FishingToday
Lieutenant General (中将)
Lieutenant General (中将)
 
帖子: 2347
注册: 09 10月 2014 12:38
Member Number (论坛会员注册序列号): #838

Re: 考考你

楼层:#2  帖子怕了索尼 » 25 9月 2015 21:48

看起来排列就能解决。

50个苹果排成一排,共有51个空隙,现在要6张牌插入其中任何一个空隙,可重复(6张插好后,第7张牌该插哪儿唯一确定)。

故应为: 51 x 51 X 51 X 51 X 51 X 51

:fish2

以上是错误的...都忘记了
最后由 怕了索尼 编辑于 25 9月 2015 21:56,总共编辑了 1 次
怕了索尼
Major General (少将)
Major General (少将)
 
帖子: 684
注册: 07 3月 2014 10:02
Member Number (论坛会员注册序列号): #323
地址: Yonge & Finch

Re: 考考你

楼层:#3  帖子FishingToday » 25 9月 2015 21:54

怕了索尼 写道:看起来排列就能解决。

50个苹果排成一排,共有51个空隙,现在要6张牌插入其中任何一个空隙,可重复(6张插好后,第7张牌该插哪儿唯一确定)。

故应为: 51 x 51 X 51 X 51 X 51 X 51

:fish2

以上是错误的...

thanks anyway.
FishingToday
Lieutenant General (中将)
Lieutenant General (中将)
 
帖子: 2347
注册: 09 10月 2014 12:38
Member Number (论坛会员注册序列号): #838

Re: 考考你

楼层:#4  帖子怕了索尼 » 25 9月 2015 22:03

FishingToday 写道:
怕了索尼 写道:看起来排列就能解决。

50个苹果排成一排,共有51个空隙,现在要6张牌插入其中任何一个空隙,可重复(6张插好后,第7张牌该插哪儿唯一确定)。

故应为: 51 x 51 X 51 X 51 X 51 X 51

:fish2

以上是错误的...

thanks anyway.



好像是对的...
怕了索尼
Major General (少将)
Major General (少将)
 
帖子: 684
注册: 07 3月 2014 10:02
Member Number (论坛会员注册序列号): #323
地址: Yonge & Finch

Re: 考考你

楼层:#5  帖子FishingToday » 25 9月 2015 22:05

查了查,似乎应该 是 (C56,6)
FishingToday
Lieutenant General (中将)
Lieutenant General (中将)
 
帖子: 2347
注册: 09 10月 2014 12:38
Member Number (论坛会员注册序列号): #838

Re: 考考你

楼层:#6  帖子FishingToday » 25 9月 2015 22:08

怕了索尼 写道:
FishingToday 写道:
怕了索尼 写道:看起来排列就能解决。

50个苹果排成一排,共有51个空隙,现在要6张牌插入其中任何一个空隙,可重复(6张插好后,第7张牌该插哪儿唯一确定)。

故应为: 51 x 51 X 51 X 51 X 51 X 51

:fish2

以上是错误的...

thanks anyway.



好像是对的...

你的6张牌的想法很正确,很聪明。佩服 :+1
FishingToday
Lieutenant General (中将)
Lieutenant General (中将)
 
帖子: 2347
注册: 09 10月 2014 12:38
Member Number (论坛会员注册序列号): #838

Re: 考考你

楼层:#7  帖子sunfish123 » 25 9月 2015 22:22

俺怎么现在还是在一片雾里呀!
sunfish123
General (上将)
General (上将)
 
帖子: 7885
注册: 08 12月 2014 21:10
Member Number (论坛会员注册序列号): #896
地址: Dufferin Rutherford

Re: 考考你

楼层:#8  帖子莫德尔 » 25 9月 2015 22:24

索尼回答是正确的。这个题目不需要组合数。只需要用乘法原则。那六个矬子每个人都有51种可能。但是索尼的方法解释是错的,或者叫复杂了。
莫德尔
General (上将)
General (上将)
 
帖子: 6734
注册: 18 9月 2013 17:44
Member Number (论坛会员注册序列号): #42
称呼: 元帅

Re: 考考你

楼层:#9  帖子wetnose » 25 9月 2015 22:36

实在是太牛逼了,这些东西现在还会! :up :up :up
wetnose
Grand General (大将)
Grand General (大将)
 
帖子: 19638
注册: 17 9月 2013 10:44
Member Number (论坛会员注册序列号): #12
地址: 16TH & Woodbine, Markham

Re: 考考你

楼层:#10  帖子FishingToday » 25 9月 2015 22:36

莫德尔 写道:索尼回答是正确的。这个题目不需要组合数。只需要用乘法原则。那六个矬子每个人都有51种可能。但是索尼的方法解释是错的,或者叫复杂了。
把莫帅都惊动了!谢谢
不过,应该是(C56,6). 我们也可以说7个矮子每个人都有51种可能。
FishingToday
Lieutenant General (中将)
Lieutenant General (中将)
 
帖子: 2347
注册: 09 10月 2014 12:38
Member Number (论坛会员注册序列号): #838

Re: 考考你

楼层:#11  帖子FishingToday » 25 9月 2015 23:07

sunfish123 写道:俺怎么现在还是在一片雾里呀!

我也是。上网查了查书才想起来。
FishingToday
Lieutenant General (中将)
Lieutenant General (中将)
 
帖子: 2347
注册: 09 10月 2014 12:38
Member Number (论坛会员注册序列号): #838

Re: 考考你

楼层:#12  帖子FishingToday » 25 9月 2015 23:08

wetnose 写道:实在是太牛逼了,这些东西现在还会! :up :up :up

大师的 心思都用在了钓技上了 :laugh3
FishingToday
Lieutenant General (中将)
Lieutenant General (中将)
 
帖子: 2347
注册: 09 10月 2014 12:38
Member Number (论坛会员注册序列号): #838

Re: 考考你

楼层:#13  帖子怕了索尼 » 26 9月 2015 05:35

56 和 6 可以理解,但是这个C没有办法解释...

还是岁月最厉害,慢慢把你打败 :roflmao
怕了索尼
Major General (少将)
Major General (少将)
 
帖子: 684
注册: 07 3月 2014 10:02
Member Number (论坛会员注册序列号): #323
地址: Yonge & Finch


回到 自由言论 Off Topic Chit Chat

在线用户