文件名称:Josephus-problem
-
所属分类:
- 标签属性:
- 上传时间:2015-11-06
-
文件大小:186.81kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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/
约瑟夫/Debug/vc60.idb
约瑟夫/Debug/vc60.pdb
约瑟夫/Debug/约瑟夫.exe
约瑟夫/Debug/约瑟夫.ilk
约瑟夫/Debug/约瑟夫.pdb
约瑟夫/Debug/约瑟夫问题.obj
约瑟夫/约瑟夫.dsp
约瑟夫/约瑟夫.dsw
约瑟夫/约瑟夫.ncb
约瑟夫/约瑟夫.opt
约瑟夫/约瑟夫.plg
约瑟夫/约瑟夫问题.cpp
约瑟夫/Debug/
约瑟夫/Debug/vc60.idb
约瑟夫/Debug/vc60.pdb
约瑟夫/Debug/约瑟夫.exe
约瑟夫/Debug/约瑟夫.ilk
约瑟夫/Debug/约瑟夫.pdb
约瑟夫/Debug/约瑟夫问题.obj
约瑟夫/约瑟夫.dsp
约瑟夫/约瑟夫.dsw
约瑟夫/约瑟夫.ncb
约瑟夫/约瑟夫.opt
约瑟夫/约瑟夫.plg
约瑟夫/约瑟夫问题.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.