文件名称:zhizheshengcun

介绍说明--下载内容均来自于网络,请自行研究使用

问题的提出:17世纪法国数学家加斯帕的一本《数学的游戏问题》描述了许多有趣问题,约瑟问题就是其中之一:

  15名基督*和15名异*同乘一船航行,途中风浪大作,危机万分,领航者告诉大家,只要将全船的一半人投入海中,其余人就能幸免。大家都同意这个办法,并协定者30人围成一圈;由第一个人起报数,每数至第9人便把他投入海中,下一个接着从1开始报数,第9人又被投入海中,依次循环,直至剩下15人为止。问题是如何排法使投入海中的人全为异*?

编程的思路:此问题有人把它的答案隐示于下列詩句中:

From numbers’ aid and art, (依靠数字的和魔力,)

Never will fame depart! (声誉决不会离你而去!)

这句诗中元音字母依次为:oueaiaaeeiaeea,分别用1、2、3、4、5代替a、e、i、o、u,便得一排数(划线得数字表示基督*,不划线的表示异*)。

4 5 2 1 3 1 1 2 2 3 1 2 2 1 故所求排法诗4个基督*,5个异*,再2个基督*,1个异*,…可以证明,这种排法所有的基督*都是安全的。

-Of the problem: the 17th century French mathematician Gaspard s a "mathematical game problem " describes the many interesting questions, Joseph is one of them:

15 Christians and 15 pagans sail with the boat ride, the way storm comes up, extreme crisis, the leader tell you that as long as half of the whole ship into the sea, the rest can be spared. We all agree with this approach, and there were 30 agreements circle the first person from the reported number, the number to 9 for each person put into the sea in his next start and then reported from a number of people has been put into 9 The sea, in cycles, until the remaining 15 people so far. The question is how to arrange method to make the people into the sea are all infidels?

Programming idea: the problem was the answer to it implicitly in the following verse:

From numbers aid and art, (relying on numbers and magic)

Never will fame depart! (reputation will never leave you!)

Poem vowel sentence were: oueaiaaeeiaeea, were re
(系统自动生成,下载前可以参看下载内容)

下载文件列表

智者生存\4_22.cpp

........\4_22.dsp

........\4_22.dsw

........\4_22.ncb

........\4_22.opt

........\4_22.plg

........\智者生存.doc

智者生存

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org