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

约瑟夫环代码

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

代码说明:

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

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

发表评论

0 个回复

  • Bhaskar
    various mathematical theorem s implementation...
    2014-10-27 17:24:38下载
    积分:1
  • sobel
    可以实现bmp图象的sobel边缘检测运算,并含有可图象重建功能。简单,易懂,使用了DIB接口,适合作数字图象处理的初学者作参考(Bmp images can be achieved sobel edge detection operator, and contains the reconstruction of functional images. Simple, understandable, the use of the DIB interface, suitable for beginners of digital image processing for information)
    2008-01-05 21:56:35下载
    积分:1
  • remotecontrol
    纯SDK 实现之 远程控制,包含客户端和服务端 c/c++(Net SDK to achieve the remote control, including client and server-side c/c++)
    2010-03-04 16:43:35下载
    积分:1
  • 4_05
    浙大题库数据结构学习与项目指导 实验项目集 4-05. 家谱处理(Zhejiang University Exam 4-05. Genealogy processing)
    2014-01-19 12:38:57下载
    积分:1
  • test_RTC_Alarm
    STM32L152的定时唤醒程序,唤醒之后PB10LED闪烁(STM32L152 timer wake-up program, wake up after PB10LED flashing)
    2017-05-26 15:18:27下载
    积分:1
  • kuangjiajiegouminglingliu
    框架剪力墙结构ansys软件APDL命令流,结构受力分析(Frame shear wall structure ansys software the APDL command-stream structural stress analysis)
    2012-10-22 14:31:01下载
    积分:1
  • SnakeGame
    snakegame by window api simple game
    2013-12-17 11:29:47下载
    积分:1
  • usb_dev_audio
    This is LM3S9B92 Sample Code data
    2012-11-11 17:31:22下载
    积分:1
  • cPP_5.12
    本程序主要完成多用途不同质量单位,长度单位的双向转换功能(This procedure mainly complete multi-purpose different quality unit, the unit length of bidirectional conversion function)
    2013-01-12 17:19:21下载
    积分:1
  • zhinengsousuo
    智能搜索功能11111111111111111(Intelligent search function)
    2013-11-22 14:24:06下载
    积分:1
  • 696524资源总数
  • 103930会员总数
  • 47今日下载