登录
首页 » Visual C++ » Joseph-problem

Joseph-problem

于 2012-10-22 发布 文件大小:1KB
0 213
下载积分: 1 下载次数: 5

代码说明:

  有N个小孩围坐成一个圆,从某个小孩开始顺序报数,报到M的小孩从圈子中离开, 从下一个小孩重新开始报数。每报到M相应的小孩从圈子离开, 最后一个离开圈子的小孩为胜者。 (N children sitting in a circle, the start sequence from one child reported the number to report child of M from the circle to leave and re-start from the next child reported number. Registration M corresponding child away from the circle, the last child to leave the circle for the winner.)

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

发表评论

0 个回复

  • uCOSII
    ucos From a small number of the concept of real-time kernel, developed a simple algorithm available, the core of the book made a detailed presentation
    2007-09-25 09:56:53下载
    积分:1
  • linjiequ
    使用类编程实现临界区,VC++网络编程,使用VC6.0编译器实现(Use class programming critical, VC++ network programming, using VC6.0 compiler implements)
    2013-07-14 22:29:26下载
    积分:1
  • tstReadMem
    实现内存的读取,程序有详细代码,还有涉及一些Unicode编程(Reading achievement of memory, the program code in detail, but also involves a number of Unicode Programming)
    2009-05-12 12:43:12下载
    积分:1
  • PCShutDown
    通过界面参数输入,实现定时关机、重启、注销的功能。(Realize the function of timing shutdown, restart, cancel. )
    2015-01-01 23:55:31下载
    积分:1
  • GetXSL
    一个基于MFC操作excel表格的应用程序。根据需求生成一张刻度与数据对应的excel表(MFC-based operation excel spreadsheet application. Excel sheet with a scale corresponding to the data generated on demand)
    2013-11-25 21:19:54下载
    积分:1
  • GPS
    GPS网平差,适合测绘工程同学,亲测可用。(GPS network adjustment for surveying and mapping engineering students, pro-test available)
    2016-12-18 00:54:06下载
    积分:1
  • conm
    含有成员对象的类的构造函数,派生与继承的体现(Contains the constructor of the class members object, derived with the manifestation of the inherited)
    2012-09-04 12:27:27下载
    积分:1
  • houghinit
    基于标准Hough变换的航迹起始,对采集的十帧数据进行分析,得到五条起始航迹(Standards-based Hough transform track initiation, the 10 data collected for analysis, the five initial track)
    2021-04-14 20:28:55下载
    积分:1
  • TCPTest
    简单TCP双向通讯例子,实现客户端服务器端的双向通讯。(Simple the TCP bidirectional communication example, to achieve the client server-side two-way communication.)
    2012-11-08 13:37:54下载
    积分:1
  • Key-Finder
    Key finder for windows....
    2013-09-09 12:29:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载