文件名称:Joseph
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:533.51kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
约瑟夫问题解决好人与坏人问题:有n个人围成一圈,分别报数,报到为m的出列,也就是经典的约瑟夫问题。先要解决这样一个问题。围成一圈的人有k个好人,k个坏人,在进行约瑟夫问题报数时,符合在坏人没有都出列前第一个好人没有出列这样的情况的m的最小值为多少?-Joseph, good and bad problem-solving problem: there are n people form a circle, respectively, reported that the number of registration for the m out of line, that is the classic Joseph problems. First to solve such a problem. Circle of people have a good k, k a bad man, when the number reported during the Josephus problem, in line with the bad guys do not have a good man out before the first column is not a situation that the minimum number of m?
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Debug/BuildLog.htm
Debug/Joseph.exe
Debug/Joseph.exe.embed.manifest
Debug/Joseph.exe.embed.manifest.res
Debug/Joseph.exe.intermediate.manifest
Debug/Joseph.ilk
Debug/Joseph.obj
Debug/Joseph.pdb
Debug/mt.dep
Debug/vc90.idb
Debug/vc90.pdb
Joseph.cpp
Joseph.ncb
Joseph.sln
Joseph.vcproj
Joseph.vcproj.Dekayzc-PC.Dekayzc.user
Debug
Debug/Joseph.exe
Debug/Joseph.exe.embed.manifest
Debug/Joseph.exe.embed.manifest.res
Debug/Joseph.exe.intermediate.manifest
Debug/Joseph.ilk
Debug/Joseph.obj
Debug/Joseph.pdb
Debug/mt.dep
Debug/vc90.idb
Debug/vc90.pdb
Joseph.cpp
Joseph.ncb
Joseph.sln
Joseph.vcproj
Joseph.vcproj.Dekayzc-PC.Dekayzc.user
Debug
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.