-
约瑟夫环:编号为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
-
dos learning process is essential to learn dos Oh, you want to be useful
dos学习程序
学习dos必备哦
希望对大家有用-dos learning process is essential to learn dos Oh, you want to be useful
- 2022-07-05 09:47:45下载
- 积分:1
-
51单片机的下载烧写软件,能下载支持在线仿真的监控程序,内有使用方法!...
51单片机的下载烧写软件,能下载支持在线仿真的监控程序,内有使用方法!-51 SCM burning downloaded software can download online simulation procedures of control methods are used within!
- 2022-03-07 21:48:58下载
- 积分:1
-
图论的一些常用代码,包括最小生成树,拓扑排序,最短路径(非负权和负权)...
图论的一些常用代码,包括最小生成树,拓扑排序,最短路径(非负权和负权)-Graph theory, a number of commonly used code, including the minimum spanning tree, topological sorting, shortest path (non-negative and negative rights)
- 2022-01-26 02:08:29下载
- 积分:1
-
太阳位置计算,计算给定时间、地点的太阳位置
太阳位置计算,计算给定时间、地点的太阳位置-sun location calculation to a certain time and place of location of the sun
- 2022-02-24 22:37:14下载
- 积分:1
-
many small games of source code, we can hope to bring little joy
很多个小游戏的源代码,希望给大家能带来小小的快乐-many small games of source code, we can hope to bring little joy
- 2022-02-25 12:05:23下载
- 积分:1
-
游戏中的贪吃蛇游戏项目
资源描述这基本上是一个游戏中的蛇游戏,但在这个项目中,我们使用了更多的功能来加载游戏,让玩家有良好的印象…当你编译或运行此代码需要加载然后实际游戏时间开始。
- 2023-08-26 16:35:03下载
- 积分:1
-
PIC 18F4550 BASIC LED CODE
PIC 18F4550 BASIC LED CODE
- 2023-08-03 04:45:03下载
- 积分:1
-
delphi编写的程序更新,查找update.ini并下载更新程序~!
delphi编写的程序更新,查找update.ini并下载更新程序~!-delphi procedure for the preparation of updated update.ini search and download the update ~!
- 2023-06-28 02:50:03下载
- 积分:1
-
基于matlab仿真的单(双)极性(不)归零码,及其功率谱
基于matlab仿真的单(双)极性(不)归零码,及其功率谱-based on Matlab simulation single (double) polarity (not) NRZ, and the power spectrum
- 2022-01-22 05:37:38下载
- 积分:1