文件名称:Joseph
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 534kb
- 下载次数:
- 0次
- 提 供 者:
- dek****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
约瑟夫问题解决好人与坏人问题:有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
.....\Joseph.exe
.....\Joseph.exe.embed.manifest
.....\Joseph.exe.embed.manifest.res
.....\Joseph.exe.intermediate.manifest
.....\Joseph.ilk
.....\Joseph.obj
.....\Joseph.pdb
.....\mt.dep
.....\vc90.idb
.....\vc90.pdb
Joseph.cpp
Joseph.ncb
Joseph.sln
Joseph.vcproj
Joseph.vcproj.Dekayzc-PC.Dekayzc.user
Debug
.....\Joseph.exe
.....\Joseph.exe.embed.manifest
.....\Joseph.exe.embed.manifest.res
.....\Joseph.exe.intermediate.manifest
.....\Joseph.ilk
.....\Joseph.obj
.....\Joseph.pdb
.....\mt.dep
.....\vc90.idb
.....\vc90.pdb
Joseph.cpp
Joseph.ncb
Joseph.sln
Joseph.vcproj
Joseph.vcproj.Dekayzc-PC.Dekayzc.user
Debug