-
约瑟夫环:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自...
约瑟夫环:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为止。编程打印出列顺序。-Josephus : No. 1, 2, 3, ..., n n clockwise direction by individuals sitting around a circle, each holding a password (positive integers). An optional started as a positive integer reported limits on the number of m, from the first individuals to embark on the clockwise direction since the beginning of a sequence number off, the report m stop. M reported out of the list of his password as a new value m, from a clockwise direction in the next one started from a newspaper a few, like that, until the total of all listed so far. Programming print out the order.
- 2022-10-30 01:40:03下载
- 积分:1
-
find
查找-find
- 2022-01-25 21:17:12下载
- 积分:1
-
概率统计分析仪 labview程序
概率统计分析仪 labview程序-Probability and Statistics Analyzer
- 2022-03-05 00:54:50下载
- 积分:1
-
网上找的奇迹世界源代码 不知道是不是真的
网上找的奇迹世界源代码 不知道是不是真的-The miracle of the Internet to find the source code do not know the world is not really
- 2022-06-21 02:43:54下载
- 积分:1
-
Entirely in C language staff management system, not too intelligent interface, b...
完全用C语言编写的员工管理系统,界面不太智能化,但可以做为一个参考!-Entirely in C language staff management system, not too intelligent interface, but can be used as a reference!
- 2022-04-11 20:23:55下载
- 积分:1
-
c语言课程设计的源代码,主要似乎初学者使用
c语言课程设计的源代码,主要似乎初学者使用-c language curriculum design source code, mainly for beginners seem to use
- 2023-04-10 20:40:03下载
- 积分:1
-
汉诺塔程序 输出任意层数的解决方案
汉诺塔程序 输出任意层数的解决方案-arbitrary number of output solutions
- 2023-05-19 14:45:03下载
- 积分:1
-
很好的一 本c++方面的书,高效率C++
很好的一 本c++方面的书,高效率C++本c++方面的书,高效率C...
很好的一 本c++方面的书,高效率C++
很好的一 本c++方面的书,高效率C++本c++方面的书,高效率C-Very good in a c++ books, efficient C++
Very good in a c++ books, efficient C++
Very good in a c++ books, efficient C++
Very good in a c++ books, efficient C++
- 2023-04-29 00:25:03下载
- 积分:1
-
0808数摸转换程序,能够达到一定要求的数值自动报警.
0808数摸转换程序,能够达到一定要求的数值自动报警.-0808 the number of touch the conversion process, to achieve a certain numerical requirements of automatic alarm.
- 2022-02-01 11:56:47下载
- 积分:1
-
一个小游戏
一个小游戏-a little game
- 2023-05-29 08:15:02下载
- 积分:1