-
约瑟夫(Joeph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一...
约瑟夫(Joeph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序。-Joseph (Joeph) a description of the problem is: numbered 1,2, ..., n, n individuals sitting clockwise circle, each holding a password (positive integer). An optional start a positive integer as the number of reported upper limit of m, from the first person to embark on the clockwise direction starting from a reported sequence number, to report the number of m stop reported. Those who reported m out of the column, his password as the new m value, from his home in a clockwise direction on the next person started to re-reported from a few, and so on, until all of the column until all the up. Try a program designed to find out the column order.
- 2022-08-14 04:29:17下载
- 积分:1
-
它是鹳课件素材的模式识别,找到了那本书…
模式识别哈工的课件,教材是stork那本,觉得比书上详细一些。从第二到第十一章.-pattern recognition for the courseware material it is the stork, found that book in greater detail. From the second to the eleventh chapter.
- 2023-02-27 01:00:04下载
- 积分:1
-
一本刚开始学习LINUX的人工具书,特别适合菜鸟使用。
一本刚开始学习LINUX的人工具书,特别适合菜鸟使用。-a LINUX just started learning the tool, as they are particularly suited to use.
- 2022-05-27 05:06:33下载
- 积分:1
-
C++语言深入教程,外文中译。
C++ primer 3rd 中文版
C++语言深入教程,外文中译。
C++ primer 3rd 中文版-C++ Language-depth tutorials, foreign language translation. C++ Primer 3rd Chinese version
- 2022-08-23 11:23:27下载
- 积分:1
-
The source code for "C++ Solutions". This book is a companion to the book that i...
The source code for "C++ Solutions". This book is a companion to the book that is widely recognized as "the C++ bible": The C++ Programming Language (third edition) by Bjarne Stroustrup. If you re a programmer, Bjarne s book comes very highly recommended.
- 2022-02-06 16:29:09下载
- 积分:1
-
PTR2000协议没希望对大家有用!!,希望大家多多指点
PTR2000协议没希望对大家有用!!,希望大家多多指点-PTR2000 agreement did not want to be useful for all of us! ! I hope you a lot of pointing
- 2022-04-17 23:16:57下载
- 积分:1
-
很好的java程序员认证信息,这是结果。第二部分
很好的java程序员认证资料,这是第二部分,PDF 格式。-good java programmer certification information, and this is the second part of the PDF.
- 2023-06-01 04:55:03下载
- 积分:1
-
SIP RFC documents. RFC2327. RFC2327
SIP的RFC文档。RFC2327. RFC2327-SIP RFC documents. RFC2327. RFC2327
- 2022-02-21 07:10:40下载
- 积分:1
-
Navida之GPU编程资料。3d图形开发必备资料!
Navida之GPU编程资料。3d图形开发必备资料!-Navida of GPU programming information. 3d graphic development of essential information!
- 2022-03-24 18:06:11下载
- 积分:1
-
有趣的程序语言准确100例,我是下了非常的…
c语言趣味程序百例精解,我以前下的,很有意思.现在传上来,大家一起看看.-c interesting procedural language Accurate 100 cases, I was under the very interesting. Now onto Chuan, we take a look at.
- 2023-08-06 14:05:04下载
- 积分:1