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

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

于 2023-08-26 发布 文件大小:92.51 kB
0 130
下载积分: 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 个回复

  • 循环队列的Java对象容器。
    循环队列的Java对象容器。-cycle cohort of Java objects containers.
    2022-08-26 02:16:53下载
    积分:1
  • 数值分析三角直接分解
    数值分析三角直接分解法-Numerial Analyse: Doolittle Analyze Arithmetic
    2022-01-29 02:40:15下载
    积分:1
  • 决策树ID3预测鲍鱼年龄
    用了abalone 数据集,是通过鲍鱼的性别,大小,总量等等来判断鲍鱼的年龄。作业用了ID3决策树算法C++
    2022-07-06 22:57:19下载
    积分:1
  • Delphi使用AES加密源码下载
    整合网上下载到的资源(ElAES.pas,AES.pas),在Delphi7下编译后,测试能用
    2023-07-07 06:10:03下载
    积分:1
  • 图书管理系统
    在这个图书借阅管理系统,我主要实现了两大功能:  (1)图书管理(增加图书、查询图书、删除图书、图书借阅、还书);  (2)会员管理(增加会员、查询会员、删除会员、借书信息);
    2022-01-30 20:13:11下载
    积分:1
  • ZOJ ACM题目解答
    这个是我在CSDN上下载的一个源码,这个比较有意义,很多东西可以自己一步步理解,有利于大家掌握ACM的一些技巧和解题思路,希望对大家有帮助
    2023-04-24 07:30:04下载
    积分:1
  • 地球或椭圆体中两点距离的程序
    计算地球或椭圆体中两点距离的程序-A program which can calculate the instance of two points in the earth or the elipse
    2022-05-19 14:58:07下载
    积分:1
  • C++ net time 读取网洛时间
    C++ net time 读取网洛时间-C net Luo time reading time
    2022-08-03 15:31:02下载
    积分:1
  • How to modify the MFC AppWizard Wizard to generate the appearance of the framewo...
    如何修改MFC AppWizard向导生成的框架程序的外观和大小,修改图标、光标、背景的三种方法。如何增加和删除工具栏按钮,如何给应用程序增加工具栏,如何显示和隐藏工具栏。定制状态栏,在状态栏中添加时钟显示,CTime类及其用法。在状态栏中添加进度条(主窗口产生后立即产生进度条的巧妙思想,不能在OnCreate函数中直接处理,要用到自定义消息的方法)。鼠标坐标显示,在CView中获取状态栏对象的几种方式。如何为应用程序添加启动画面。 -How to modify the MFC AppWizard Wizard to generate the appearance of the framework of procedures and size, modify the icon, cursor, background three methods. How to add and remove toolbar buttons, how to increase the application toolbar, how to show and hide the toolbar. Custom status bar, add in the status bar clock display, CTime class and its usage. In the status bar to add the progress bar (the main window immediately after the progress bar the ingenious ideas, in the OnCreate function should not directly deal with, to use a custom message to the method). Mouse coordinates shows that access to the status bar in the CView object in several ways. How to add a splash screen applications.
    2022-12-03 22:25:03下载
    积分:1
  • DTMF双音多频实现
    双音多频:dual-tone multifrequency双音多频 DTMF(Dual Tone Multi Frequency),双音多频,由高频群和低频群组成,高低频群各包含4个频率。一个高频信号和一个低频信号叠加组成一个组合信号.
    2022-09-09 21:40:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载