文件名称:Josephus-problem
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2015-11-06
- 文件大小:
- 187kb
- 下载次数:
- 0次
- 提 供 者:
- 王**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
30个旅客同乘一船,超载航行,途中风浪大作,危险万状。船长告诉大家,只要将船舱一半的乘客投入海中,其余人方能幸免于难。无奈,大家只能赞成这个方法,并议定30个人围成
一圈,由第一个人数起,挨次报数,每数到第9人,便把他投入海中,如此循环地进行,直至剩下15个乘客为止,问哪些位置是将被投下海的位置?-30 passengers with a boat ride, sail overloaded, the way waves masterpiece perilous. Captain tell you, as long as half of the passenger cabin into the sea, the rest can only survive. But unfortunately, we can only favor this approach, and agreed to 30 people surrounded
Circle, starting the first personal number, number off one by one, every few months to 9, put him into the sea, so cyclically, until the remaining 15 passengers so far, and asked what the position is to be dropped Sea location?
一圈,由第一个人数起,挨次报数,每数到第9人,便把他投入海中,如此循环地进行,直至剩下15个乘客为止,问哪些位置是将被投下海的位置?-30 passengers with a boat ride, sail overloaded, the way waves masterpiece perilous. Captain tell you, as long as half of the passenger cabin into the sea, the rest can only survive. But unfortunately, we can only favor this approach, and agreed to 30 people surrounded
Circle, starting the first personal number, number off one by one, every few months to 9, put him into the sea, so cyclically, until the remaining 15 passengers so far, and asked what the position is to be dropped Sea location?
(系统自动生成,下载前可以参看下载内容)
下载文件列表
约瑟夫
......\Debug
......\.....\vc60.idb
......\.....\vc60.pdb
......\.....\约瑟夫.exe
......\.....\约瑟夫.ilk
......\.....\约瑟夫.pdb
......\.....\约瑟夫问题.obj
......\约瑟夫.dsp
......\约瑟夫.dsw
......\约瑟夫.ncb
......\约瑟夫.opt
......\约瑟夫.plg
......\约瑟夫问题.cpp