-
约瑟夫(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
-
随着计算机技术在我国各个领域的推广、普及,计算机作为一种广泛应用的工具,其重要性日益受到社会重视,越来越多的人开始学习计算机,操作和应用成为人们必须掌握的一种基...
随着计算机技术在我国各个领域的推广、普及,计算机作为一种广泛应用的工具,其重要性日益受到社会重视,越来越多的人开始学习计算机,操作和应用成为人们必须掌握的一种基本技能。-With the computer technology in our country in various fields to promote universal access, the computer as a widely used tool, the importance of increasing importance to society, more and more people started to learn computer operation and application to become a people must master basic skills.
- 2022-03-25 22:10:08下载
- 积分:1
-
ORACLE8I DBA宝典,oracle学习比较经典的书籍。
ORACLE8I DBA宝典,oracle学习比较经典的书籍。-ORACLE8I DBA, the book oracle relatively classic books.
- 2022-06-21 12:32:45下载
- 积分:1
-
alsdkag spkdfg
关于开发驱动的代码】
关于开发驱动的代码】
关于开发驱动的代码】
关于开发驱动的代码】
-alsdkag spkdfg
- 2023-03-10 06:20:03下载
- 积分:1
-
该源码能够帮助初学者输入理解C语言的奥秘,熟悉VC++环境。成为C搞手...
该源码能够帮助初学者输入理解C语言的奥秘,熟悉VC++环境。成为C搞手-The input source can help beginners to understand the mysteries of C language, be familiar with VC++ Environment. Become engaged in hand C
- 2022-08-09 13:44:49下载
- 积分:1
-
用VC++开发管理从事过程控制大型数据库的应用程序
用VC++开发管理从事过程控制大型数据库的应用程序-with VC++ development process control management engaged in large-scale database applications
- 2022-02-26 02:50:54下载
- 积分:1
-
新版本的c语言实例。非常的好。100个新的实例
新版本的c语言实例。非常的好。100个新的实例-A new version of the c language examples. Very good. 100 new examples of
- 2022-03-07 00:04:30下载
- 积分:1
-
非常实用的Matlab书籍,包括Matlab基础知识及Matlab实用编程
非常实用的Matlab书籍,包括Matlab基础知识及Matlab实用编程-Matlab is very useful books, including basic knowledge of Matlab and Matlab programming practical
- 2022-02-02 23:07:37下载
- 积分:1
-
上载非界面和非WEB源码
上载非界面和非WEB源码 -on the non-W#$#!33571#!#$JavaTextEditor.rar!#$#This is my personal development of the Java version of the text editor.
- 2022-05-07 21:58:33下载
- 积分:1
-
Appendix MATLAB 程序设计基础附录
Appendix MATLAB 程序设计基础附录-Appendix Appendix Design Basis
- 2022-03-21 15:02:21下载
- 积分:1