登录
首页 » 算法 » josephus算法 n个人围成一圈报数,报到人出去,相信很多人都知道这个经典题目。解法有数组法等等。 其实,这就是josehpus问题,这里演示josephu...

josephus算法 n个人围成一圈报数,报到人出去,相信很多人都知道这个经典题目。解法有数组法等等。 其实,这就是josehpus问题,这里演示josephu...

于 2023-08-26 发布 文件大小:92.51 kB
0 89
下载积分: 2 下载次数: 1

代码说明:

josephus算法 n个人围成一圈报数,报到人出去,相信很多人都知道这个经典题目。解法有数组法等等。 其实,这就是josehpus问题,这里演示josephus算法-Josephus n algorithm was used to encircle a few individuals, who report back out, I believe many people know this classic title. Solutions are arrays among others. In fact, this is josehpus, Josephus demonstration here Algorithm

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • -回溯
    回溯算法求解0-1背包问题、旅行售货商问题、青蛙换位问题、骑士巡游问题。
    2022-05-23 08:46:50下载
    积分:1
  • 第五章 数组和广义表习题答案
    第五章 数组和广义表习题答案-Chapter V arrays and generalized answer Table Exercises
    2022-04-15 04:44:13下载
    积分:1
  • Mahout在大数据的应用
    该资料包括大数据内应用的的所有算,支持单机、伪分布、全分布等环境运行,主要应用推荐产品、分类产品。
    2022-04-22 03:47:25下载
    积分:1
  • 介绍的书籍,比较详细介绍了相关的一些基本知识和事项过程。...
    介绍算法的书籍,比较详细介绍了相关算法的一些基本知识和事项过程。-algorithm introduced the books, more detailed correlation algorithm introduced some basic knowledge of the process and issues.
    2023-06-12 16:15:06下载
    积分: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
  • 支持向量机 Python 项目
    这是支持的向量机 (SVM) 的代码。在 SVMProject.zip 中,你会得到一个 eclipse 项目。将导入到 eclipse,python 的源代码和它的数据。svm.py 包含支持向量机算法和实用程序函数。matplot.py 是图的功能。main.py 是这个项目的中考。
    2022-03-20 12:59:10下载
    积分:1
  • 框架结构自振特性分析代码
    框架结构自振分析matalab代码,主要针对平面框架结构,对空间框架结构的分析具有参考价值。采用2D梁单元进行网格细分,能够根据使用者的要求来定义单元的大小。在对平面框架进行动力时程分析时,只需要读入加速度时程文本,嵌入中心差分模块即可。
    2022-02-13 08:19:44下载
    积分:1
  • DCT快速的C语言实现的64,
    DCT快速算法64位的C语言实现,乘法次数目前最少,可嵌入解码器使用-DCT the fast algorithm 64 C language realization, the multiplication number of times at present are least, may insert the decoding use
    2022-12-21 14:10:03下载
    积分:1
  • 傅里叶变换fft
    How To Use void main(void) { gen_w_r2(w, N); // Generate coefficient table bit_rev(w, N>>1); // Bit−reverse coefficient table DSPF_sp_cfftr2_dit(x, w, N); // radix−2 DIT forward FFT // input in normal order, output in // order bit−reversed // coefficient table in bit−reversed // order DSPF_sp_icfftr2_dif(x, w, N); // Inverse radix 2 FFT 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-03-02 15:55:21下载
    积分:1
  • double类型的3维矢量运类库,具有加、减、点积、叉积、除、取模、单位化功能。...
    double类型的3维矢量运算类库,具有加、减、点积、叉积、除法、取模、单位化功能。 -double types of 3-D vector operation library is, plus or minus, plot points, fork plot, division, from mold, Function units.
    2022-07-01 02:43:43下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载