文件名称:smarttoalive
- 所属分类:
- matlab例程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 9kb
- 下载次数:
- 0次
- 提 供 者:
- i***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
15名基督*和15名异*同乘一船航行,途中风浪大作,危机万分,领航者告诉大家,只要将全船的一半人投入海中,其余人就能幸免。大家都同意这个办法,并协定者30人围成一圈;由第一个人起报数,每数至第9人便把他投入海中,下一个接着从1开始报数,第9人又被投入海中,依次循环,直至剩下15人为止。问题是如何排法使投入海中的人全为异*?-15 Christians and pagans 15 vessels with one by the way, big waves, extreme crisis, leader told everyone that as long as will be half the person boat into the sea, and the remaining person will be able to escape. We all agree that this approach, and agreements were 30 form a circle from the first reported from a few individuals, the number to 9 for each person put him into the sea, then from the next one to start off, 9 people have been invested in the sea, followed by cycle, until the remaining 15 people so far. The question is how to row Act so that the person into the sea all infidels?
(系统自动生成,下载前可以参看下载内容)
下载文件列表
4_22.cpp
4_22.dsp
4_22.dsw
4_22.ncb
4_22.opt
4_22.plg
4_22.dsp
4_22.dsw
4_22.ncb
4_22.opt
4_22.plg