登录
首页 » 算法 » 约瑟夫(Joseph)环C语言实现

约瑟夫(Joseph)环C语言实现

于 2023-04-19 发布 文件大小:215.87 kB
0 188
下载积分: 2 下载次数: 1

代码说明:

Joseph环问题描述如下:编号是2,n个人按照顺时针方向围坐一圈,每个人只有一个密码(正整数)。一开始任选一个正整数作为报数上限值1开始顺序报数,报到m的人出列,将他的密码作为新的1报数,如此下去,直到所有人全部出列为止。设计一个程序来求出出列顺序。

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

发表评论

0 个回复

  • 贝叶斯分类 matlab
    对于UCI数据集 IRIS 用贝叶斯分类算法分类
    2022-06-03 18:32:59下载
    积分:1
  • 从多维来画波形图
    从多维来画波形图-To draw from the multi-dimensional wave
    2022-01-25 19:55:32下载
    积分:1
  • 2D FDTD and plane wave expansion for the calculation of optical and microwave
    2D的FDTD和平面波展开,用于光学和微波计算-2D FDTD and plane wave expansion for the calculation of optical and microwave
    2022-03-19 16:19:45下载
    积分:1
  • A star类的C++语言实现
    A star算法类的C++语言实现-algorithm category C Language
    2022-10-11 18:50:03下载
    积分:1
  • 3D克希霍夫偏移程序
    3D克希霍夫偏移程序。利用c语言编写的三维迭前偏移的代码,算法结果正确,精度高,具有很好的实用性-The use of three-dimensional Diego c language code before the cheap, algorithms result is correct, high precision, with a good practical 
    2022-05-23 03:27:09下载
    积分:1
  • Linear programming simplex algorithm
    线性规划单纯形算法,包括子函数和主程序,用c++编写-Linear programming simplex algorithm
    2023-06-18 16:40:03下载
    积分:1
  • LabVIEW一维数组转二维数组
    LabVIEW一维数组转二维数组,当一维数组元素不断增加时,将一维数组变为二维数组
    2022-03-25 03:40:57下载
    积分:1
  • basic huffman code, visual c
    basic huffman code, visual c-basic huffman code, visual c++
    2022-03-16 14:22:58下载
    积分:1
  • Polynomial fit functions === === === === RegressionObject.cls contains a cl...
    Polynomial fit functions === === RegressionObject.cls contains a class that provides an easy way to add polynomial regression functionality to any application. If you just want linear regression or a very high degree, no matter: this class has good performance and scales seamlessly with the complexity of your problem.-Polynomial fit functions === === === === RegressionObject.cls contains a class that provides an easy way to add polynomial regression functionality to any application. If you just want linear regression or a very high degree, no matter: this class has good performance and scales seamlessly with the complexity of your problem.
    2022-11-25 05:50:02下载
    积分:1
  • VC call Matlab engine (because no such category, put a numerical calculation)
    VC调用matlab引擎(因为类别当中没有此类,所以放到了数值计算)-VC call Matlab engine (because no such category, put a numerical calculation)
    2022-08-26 06:11:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载