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