文件名称:Joseph-ring-on-vs-2011
介绍说明--下载内容均来自于网络,请自行研究使用
C++链表解决约瑟夫环问题,问题描述:假设有N个小孩按照序号1,2,,,N围坐成一圈,从第一个小孩开始报数,每次报到n的人退出,接着从下一个人重新开始从1开始报数,下一次再报到n的人退出,
求最后一个留下第几个人;-C++ linked list to solve the problem Josephus, described the problem: Suppose there are N children according to number 1,2,,, N sitting in a circle, starting from the first child reported that the number of people out of every report of n, then from the next to re-start from 1 reported that the number, n, the next person and then report out, seeking the last to leave the first few people
求最后一个留下第几个人;-C++ linked list to solve the problem Josephus, described the problem: Suppose there are N children according to number 1,2,,, N sitting in a circle, starting from the first child reported that the number of people out of every report of n, then from the next to re-start from 1 reported that the number, n, the next person and then report out, seeking the last to leave the first few people
(系统自动生成,下载前可以参看下载内容)
下载文件列表
约瑟夫环VS2010链表解决
......................\maerkefu
......................\........\Debug
......................\........\.....\maerkefu.exe
......................\........\.....\maerkefu.ilk
......................\........\.....\maerkefu.pdb
......................\........\ipch
......................\........\....\maerkefu-e12e506b
......................\........\....\.................\maerkefu-85793f7c.ipch
......................\........\maerkefu
......................\........\maerkefu.sdf
......................\........\maerkefu.sln
......................\........\maerkefu.suo
......................\........\........\Debug
......................\........\........\.....\CL.read.1.tlog
......................\........\........\.....\CL.write.1.tlog
......................\........\........\.....\link-cvtres.read.1.tlog
......................\........\........\.....\link-cvtres.write.1.tlog
......................\........\........\.....\link.4440-cvtres.read.1.tlog
......................\........\........\.....\link.4440-cvtres.write.1.tlog
......................\........\........\.....\link.4440.read.1.tlog
......................\........\........\.....\link.4440.write.1.tlog
......................\........\........\.....\link.read.1.tlog
......................\........\........\.....\link.write.1.tlog
......................\........\........\.....\list.obj
......................\........\........\.....\maerkefu.exe.embed.manifest
......................\........\........\.....\maerkefu.exe.embed.manifest.res
......................\........\........\.....\maerkefu.exe.intermediate.manifest
......................\........\........\.....\maerkefu.lastbuildstate
......................\........\........\.....\maerkefu.log
......................\........\........\.....\maerkefu_manifest.rc
......................\........\........\.....\mt.read.1.tlog
......................\........\........\.....\mt.write.1.tlog
......................\........\........\.....\rc.read.1.tlog
......................\........\........\.....\rc.write.1.tlog
......................\........\........\.....\vc100.idb
......................\........\........\.....\vc100.pdb
......................\........\........\list.cpp
......................\........\........\maerkefu.vcxproj
......................\........\........\maerkefu.vcxproj.filters
......................\........\........\maerkefu.vcxproj.user
......................\maerkefu
......................\........\Debug
......................\........\.....\maerkefu.exe
......................\........\.....\maerkefu.ilk
......................\........\.....\maerkefu.pdb
......................\........\ipch
......................\........\....\maerkefu-e12e506b
......................\........\....\.................\maerkefu-85793f7c.ipch
......................\........\maerkefu
......................\........\maerkefu.sdf
......................\........\maerkefu.sln
......................\........\maerkefu.suo
......................\........\........\Debug
......................\........\........\.....\CL.read.1.tlog
......................\........\........\.....\CL.write.1.tlog
......................\........\........\.....\link-cvtres.read.1.tlog
......................\........\........\.....\link-cvtres.write.1.tlog
......................\........\........\.....\link.4440-cvtres.read.1.tlog
......................\........\........\.....\link.4440-cvtres.write.1.tlog
......................\........\........\.....\link.4440.read.1.tlog
......................\........\........\.....\link.4440.write.1.tlog
......................\........\........\.....\link.read.1.tlog
......................\........\........\.....\link.write.1.tlog
......................\........\........\.....\list.obj
......................\........\........\.....\maerkefu.exe.embed.manifest
......................\........\........\.....\maerkefu.exe.embed.manifest.res
......................\........\........\.....\maerkefu.exe.intermediate.manifest
......................\........\........\.....\maerkefu.lastbuildstate
......................\........\........\.....\maerkefu.log
......................\........\........\.....\maerkefu_manifest.rc
......................\........\........\.....\mt.read.1.tlog
......................\........\........\.....\mt.write.1.tlog
......................\........\........\.....\rc.read.1.tlog
......................\........\........\.....\rc.write.1.tlog
......................\........\........\.....\vc100.idb
......................\........\........\.....\vc100.pdb
......................\........\........\list.cpp
......................\........\........\maerkefu.vcxproj
......................\........\........\maerkefu.vcxproj.filters
......................\........\........\maerkefu.vcxproj.user