-
a description of the problem is : No. 1, 2, ..., n n clockwise direction by indi...
约瑟夫问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,没人持有一个密码。一开始人选一个正整数作为报数上限值m,从第一个人开始按顺时针自1开始报数,报到m是停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。-a description of the problem is : No. 1, 2, ..., n n clockwise direction by individuals sitting around a circle, no one holding a password. One person started as a positive integer limits on the number of reported m, from the first individuals to embark on the clockwise from a few reportedly started, the report m is reportedly stopped a few. M reported out of the list of his password as a new value m, from a clockwise direction in the next re-started from a newspaper a few, like that, until the total of all listed so far.
- 2022-02-03 16:31:48下载
- 积分:1
-
Adaptive and Robust control theory
Adaptive and Robust control theory
- 2023-08-29 01:35:06下载
- 积分:1
-
道格拉斯算法
这里介绍的是利用道格拉斯算法实现制图综合,特别是图像的处理,方便而实用,代码简单,原理清楚,希望大家下载互相学习,共同进步!
- 2022-08-18 17:25:29下载
- 积分:1
-
银行家算法C++描述
银行家算法C++描述-bankers algorithm C Description
- 2022-06-19 09:14:25下载
- 积分:1
-
操作系统作业调度算法的实现,页面置换算法实现
1.用“先来先服务(FCFS)”算法和“最短作业优先(SJF)”算法模拟作业调度。 要求:按作业的到达顺序输入各作业需要的运行时间,按算法调度输出平均周转时间。 例如(FCFS),输入:8(到达时间0), 5(到达时间2),7(到达时间3),1(到达时间6)
- 2023-05-19 01:45:03下载
- 积分:1
-
计算文本文件行数
计算文本文件行数-Calculate rows number of text files
- 2022-04-22 02:58:41下载
- 积分:1
-
java语言实现各种排序算法
采用java语言,实现克重排序算法,如快速排序、冒泡排序等;
- 2022-01-25 21:05:04下载
- 积分:1
-
研究生算法作业著名的旅行者问题
研究生算法作业著名的旅行者问题-graduate algorithm operating famous Traveler Problem
- 2022-02-24 09:52:24下载
- 积分:1
-
With the Gauss
用高斯-赛德尔迭代法求方程组的根。它的原理与简单迭代法相似,但在赛德尔迭代法中,每次迭代时充分利用当前最新的迭代值-With the Gauss- Seidel iterative method seeking the roots of equations. Its principle with simple iterative method similar, but the Seidel iteration method in each iteration to take full advantage of the current value of the latest iteration
- 2022-03-18 09:30:09下载
- 积分:1
-
横向聚合
水平聚合的一种算法。请更改DBUTil文件中的用户id和passowrd。。程序使用pivot操作符水平聚合一个表。连接到数据库需要Sql server。
- 2023-07-21 07:40:04下载
- 积分:1