登录
首页 » C++ » 约瑟夫环代码

约瑟夫环代码

于 2022-02-15 发布 文件大小:1.69 MB
0 76
下载积分: 2 下载次数: 1

代码说明:

约瑟夫环问题:一圈共有N个人,从第s个人开始报数,报到M的人自杀,然后自杀的下一个人重新开始报数,报到m的就选择自杀,如此反复进行下去,问最后自杀的人是谁?

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

发表评论

0 个回复

  • edge_detect
    边沿检测与提取,轮廓跟踪的图象算法 用VC++实现,下载可以正常运行(Edge detection and extraction, contour tracing algorithm using image VC++ Realization can download the normal operation of)
    2008-04-25 22:20:43下载
    积分:1
  • DTW-VCPP
    基于vc++开发,dtw语音识别,MFCC参数(DTW recognice based on vc++)
    2012-03-25 19:12:20下载
    积分:1
  • ArcEngineTopology
    自己做的一个针对mdb中数据集构建拓扑,并进行拓扑验证的例子,之前找半天没有找到相关的,自己做的这个还是可以用的,希望能帮到有需要的人士(Examples of their own to do a build topology for mdb data sets and topology verification, before looking for a long time did not find the relevant own doing this can still be used, I hope to help those in need)
    2014-11-06 16:28:33下载
    积分:1
  • 程序
    说明:  AVR下的电池数据记录仪,检测10个锂电池单体(10sLI_on battery Management soft, AVR ICCAVR7.22)
    2020-06-17 15:20:11下载
    积分:1
  • lpc2119
    lpc2119uart.rar是nxp公司的嵌入式芯片lpc2119的连习程序,大家可以用来练习串口通讯的编程(lpc2119uart.rar is nxp chip companies lpc2119 embedded link learning process, everyone can be used to practice serial communication programming)
    2008-02-19 10:41:22下载
    积分:1
  • OpenGL
    OpenGL 3ds模型导入 关于3ds文件导入的一个实例(opengl 程序下载 关于3ds文件导入的一个实例 下载 地对地导弹的)
    2010-01-07 09:00:46下载
    积分:1
  • fdtd3d
    3D FDTD algorithm realized in c++
    2010-05-19 06:29:28下载
    积分:1
  • EmguCVTool-master
    说明:  C#+EmguCV机器视觉开发平台,功能:基本的图像处理工具、随意配置执行流程、二维码识别、文字识别等等。(C+EmguCV machine vision development platform, functions: basic image processing tools, arbitrary configuration of the execution process, two-dimensional code recognition, character recognition and so on.)
    2021-02-18 16:39:45下载
    积分:1
  • videoPlayer
    一款用c#开发的视频播放软件,可以播放avi和wmv格式的视频文件。(A c# development of video player software can play avi and wmv video file format.)
    2012-11-24 17:59:53下载
    积分:1
  • 12C5A60S2EEPROM
    12C5A60S2 EEPROM 的读写操作(12C5A60S2 EEPROM read_write)
    2013-09-24 14:41:56下载
    积分:1
  • 696518资源总数
  • 105562会员总数
  • 1今日下载