-
约瑟夫(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
-
This is an implementation using VC language completely arbitrary Delaunay polygo...
这是一个用VC语言实现任意多边形的Delaunay完全三角剖分算法的论文,可以参考。-This is an implementation using VC language completely arbitrary Delaunay polygon triangulation algorithm thesis, can refer to.
- 2022-03-09 18:43:50下载
- 积分:1
-
脚本
脚本-Script
- 2022-01-25 18:58:17下载
- 积分:1
-
算法电子书, 主要是STL 中相关的资料Algorithms, 学习用
算法电子书, 主要是STL 中相关的资料Algorithms, 学习用-Algorithm for e-books, mainly in the STL-related information Algorithms, learning to use
- 2022-03-07 03:41:28下载
- 积分:1
-
这是图形学中关于直线画法的3种算法的源程序,是结合了老师的意见后编写的。...
这是图形学中关于直线画法的3种算法的源程序,是结合了老师的意见后编写的。-This is the graphics on the straight-line drawing algorithm of the three kinds of source code, is a combination of the views of teachers prepared.
- 2022-10-27 22:05:04下载
- 积分:1
-
HTML是网页主要的组成部分,基本上一个网页都是由HTML语言组成的,所以要学习网站怎样建设,必须从网页的基本语言学起...
HTML是网页主要的组成部分,基本上一个网页都是由HTML语言组成的,所以要学习网站怎样建设,必须从网页的基本语言学起-HTML is an integral part of the main page, is basically a web page composed by HTML language, so the Web site to learn how to build, we must play from the web" s basic linguistic
- 2022-08-07 06:59:54下载
- 积分:1
-
VHDL非常有用的样本
the samples of VHDL very usef
- 2022-02-20 13:53:04下载
- 积分:1
-
hibernate Chinese guides, html form convenient beginners can copy arbitrary code...
hibernate的中文教程,html形式,方便了初学者可以任意copy代码,完成知识点的学习-hibernate Chinese guides, html form convenient beginners can copy arbitrary code, complete knowledge point of learning
- 2022-03-03 14:15:24下载
- 积分:1
-
Linux设备驱动程序 (第二版)_0 希望对你们有用
Linux设备驱动程序 (第二版)_0 希望对你们有用-Linux device driver (2nd Edition) Huffman hope useful to you
- 2022-03-16 06:40:06下载
- 积分:1
-
The book detailed introduction to Java as part of the more important that the de...
本书详尽地介绍了Java中比较重要的一部分即Applet的开发和使用。-The book detailed introduction to Java as part of the more important that the development and use of Applet.
- 2023-03-23 22:20:04下载
- 积分:1