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

约瑟夫环代码

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

代码说明:

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

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

发表评论

0 个回复

  • FENMINGQI
    STM32F103驱动蜂鸣器的例子,是学习STM32的好资料。(STM32F103 drive the buzzer example, STM32 learning good information.)
    2016-04-13 21:28:55下载
    积分:1
  • netmeeting
    一套点对点的网络视频会议系统,跟qq的视频功能相似,可以给初学者提供很大的帮组(A peer-to-peer network of video conferencing systems with video capabilities similar to qq can give beginners group will provide a lot of help)
    2009-03-08 10:36:50下载
    积分:1
  • Fengzhuang_test
    vc matlab混合编程小例子!希望能给大家一点启示里面的链接库需要设置下!(vc matlab small example of mixed programming! An inspiration to give us hope that the links inside the library to set the next!)
    2011-04-25 17:15:27下载
    积分:1
  • USB转spi IIC UART 上位机源码
    【实例简介】USB转spi IIC UART 上位机源码
    2021-07-03 00:31:11下载
    积分:1
  • PIT
    说明:  基于IAR开发环境,野火PIT 配置文件,包含C和H文件(Based on IAR development environment, wildfire PIT configuration file, including C and H files)
    2020-06-16 21:00:02下载
    积分:1
  • 分辨率不同的两图像显示在一幅图上
    在图像处理时,特别是在图像匹配的过程中要求两幅图像图像显示在一起,以便于观察左右两幅图像是否在特征上实现正确的匹配。本算法利用感兴趣区域的方法,建立一幅宽为两幅图像宽之和,高为两幅图像高较大者,然后分别在这幅图像设置两个感兴趣区域,将两幅原图像拷贝到感兴趣区域,最终实现两幅不同分辨率图像显示在同一幅图像上。
    2022-07-04 19:45:35下载
    积分:1
  • WinFormUDPSocket
    模仿QQ传送文件,使用UDP协议,界面漂亮,vs2005环境开发,直接就可以使用(QQ transfer files to imitate, using UDP protocol, beautiful interface, vs2005 environment and development, can be used directly)
    2010-11-03 18:19:33下载
    积分:1
  • StringJiaMi
    说明:  字符串加载解密类 很不错,大家可以看看,学习一下(Add to decrypt the string class is good, we can see, learn about)
    2011-03-01 12:43:50下载
    积分:1
  • Servo-Motor-Contor
    msp430对舵机控制的源程序,能实现精确角度转动,并且转动稳定,适合含有舵机控制系统的应用.(msp430 for servo control of the source, to achieve precise angle rotation, and rotation stability, suitable for applications with servo control system.)
    2011-08-23 22:12:19下载
    积分:1
  • FCFS
    系统调度中先进先出FCFS算法代码 操作系统课设可用(FIFO system FCFS scheduling algorithm code class-based operating system available)
    2015-11-30 20:53:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载