Joseph-ring
M?n 

所属分类:钩子与API截获
开发工具:Visual C++
文件大小:1442KB
下载次数:1
上传日期:2016-09-27 11:52:32
上 传 者千猴
说明:  编号为1,2,3,„ ,n的n个人按顺时针方向围坐一圈,每人手持一个密码(正整数)。一开始任选一个整数作为报数上限值,从第一人开始顺时针自1开始顺序报数,报到m时停止报数。报m的人出列,将它的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去直到所有人全部出列为止。试设计程序实现之
(Numbered 1,2,3, " , n n individuals sitting clockwise in a circle, each holding a password (positive integer). As a start, optionally, an integer number of reported upper limit, the first person clockwise order starting a number of newspaper, reported that the number m stop report. telegram m people out of the line, it' s password as the new value of m, starting with his next person in a clockwise direction, again a newspaper number, and so on until all the columns until the owner. try to design a program to achieve it)

文件列表:
数据结构-约瑟夫环 (0, 2016-09-27)
数据结构-约瑟夫环\Debug (0, 2016-09-27)
数据结构-约瑟夫环\Debug\CL.read.1.tlog (1882, 2015-09-27)
数据结构-约瑟夫环\Debug\CL.write.1.tlog (654, 2015-09-27)
数据结构-约瑟夫环\Debug\cl.command.1.tlog (1386, 2015-09-27)
数据结构-约瑟夫环\Debug\link-cvtres.read.1.tlog (2, 2015-09-27)
数据结构-约瑟夫环\Debug\link-cvtres.write.1.tlog (2, 2015-09-27)
数据结构-约瑟夫环\Debug\link.2636-cvtres.read.1.tlog (2, 2015-09-27)
数据结构-约瑟夫环\Debug\link.2636-cvtres.write.1.tlog (2, 2015-09-27)
数据结构-约瑟夫环\Debug\link.2636.read.1.tlog (2, 2015-09-27)
数据结构-约瑟夫环\Debug\link.2636.write.1.tlog (2, 2015-09-27)
数据结构-约瑟夫环\Debug\link.command.1.tlog (1582, 2015-09-27)
数据结构-约瑟夫环\Debug\link.read.1.tlog (2926, 2015-09-27)
数据结构-约瑟夫环\Debug\link.write.1.tlog (776, 2015-09-27)
数据结构-约瑟夫环\Debug\mt.command.1.tlog (376, 2015-09-27)
数据结构-约瑟夫环\Debug\mt.read.1.tlog (278, 2015-09-27)
数据结构-约瑟夫环\Debug\mt.write.1.tlog (278, 2015-09-27)
数据结构-约瑟夫环\Debug\rc.command.1.tlog (504, 2015-09-26)
数据结构-约瑟夫环\Debug\rc.read.1.tlog (250, 2015-09-26)
数据结构-约瑟夫环\Debug\rc.write.1.tlog (258, 2015-09-26)
数据结构-约瑟夫环\Debug\stdafx.obj (11719, 2015-09-26)
数据结构-约瑟夫环\Debug\vc100.idb (68608, 2015-09-27)
数据结构-约瑟夫环\Debug\vc100.pdb (126976, 2015-09-27)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.Build.CppClean.log (2619, 2015-09-26)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.exe (29184, 2015-09-27)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.exe.embed.manifest (406, 2015-09-26)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.exe.embed.manifest.res (472, 2015-09-26)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.exe.intermediate.manifest (381, 2015-09-27)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.ilk (375228, 2015-09-27)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.lastbuildstate (80, 2015-09-27)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.log (3330, 2015-09-27)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.obj (7064, 2015-09-27)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.pch (1179648, 2015-09-26)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.pdb (478208, 2015-09-27)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.vcxprojResolveAssemblyReference.cache (713, 2015-09-27)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环.write.1.tlog (0, 2015-09-26)
数据结构-约瑟夫环\Debug\数据结构-约瑟夫环_manifest.rc (208, 2015-09-26)
数据结构-约瑟夫环\ipch (0, 2016-09-27)
数据结构-约瑟夫环\ipch\数据结构-约瑟夫环-515a3b0b (0, 2016-09-27)
... ...

======================================================================== 控制台应用程序:数据结构-约瑟夫环 项目概述 ======================================================================== 应用程序向导已为您创建了此 数据结构-约瑟夫环 应用程序。 本文件概要介绍组成 数据结构-约瑟夫环 应用程序的每个文件的内容。 数据结构-约瑟夫环.vcxproj 这是使用应用程序向导生成的 VC++ 项目的主项目文件, 其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 数据结构-约瑟夫环.vcxproj.filters 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。 它包含有关项目文件与筛选器之间的关联信息。 在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。 例如,“.cpp”文件与“源文件”筛选器关联。 数据结构-约瑟夫环.cpp 这是主应用程序源文件。 ///////////////////////////////////////////////////////////////////////////// 其他标准文件: StdAfx.h,StdAfx.cpp 这些文件用于生成名为 数据结构-约瑟夫环.pch 的预编译头 (PCH) 文件和 名为 StdAfx.obj 的预编译类型文件。 ///////////////////////////////////////////////////////////////////////////// 其他注释: 应用程序向导使用“TODO:”注释来指示应添加或自定义的源代码部分。 /////////////////////////////////////////////////////////////////////////////

近期下载者

相关文件


收藏者