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

Joseph-problem

于 2012-10-22 发布 文件大小:1KB
0 141
下载积分: 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 个回复

  • Hacking-Exposed
    一本优秀的国外黑客教程(中文版),介绍了很多主流的黑客手段和其所使用的工具,并且难度适中,新手和高手都适合看。(An excellent foreign hackers tutorial (Chinese version), introduces some mainstream hacking tools and means.)
    2015-05-04 20:50:09下载
    积分:1
  • book
    自己编写的一款利用C++MFC制作的通讯录。不怎么完善。。见谅。(I have written a book produced by the use of C++MFC. Not very perfect. . Forgive me.)
    2013-06-08 15:17:00下载
    积分:1
  • MFC_Dialog
    Kinect + OpenCV + Visual C++
    2019-01-23 21:00:45下载
    积分:1
  • DVRPlayer
    说明:  一个VC写的程序,dvr播放器,希望对初学同学又所帮助,已编译通过,好用。(VC to write a program, dvr player, want to help beginner students they have been compiled by, easy to use.)
    2010-04-21 23:03:35下载
    积分:1
  • qq
    说明:  通讯录指南系统 包括存入姓名,电话,住址等等(communicate system)
    2012-05-07 23:51:07下载
    积分:1
  • MY_QQ
    聊天界面,简易的聊天界面懂得更多,了解更多,沟通更多(Chat interface, a simple chat interface know more, learn more, communicate more)
    2013-07-17 22:34:50下载
    积分:1
  • disphelper
    jytfkcxxxfgjhhzdhsfdsgdarf
    2020-06-18 18:20:01下载
    积分:1
  • ChartRoomClient
    说明:  IOCP客户端代码,希望对大家有所帮助,大家互相学习(ChartRoomClient)
    2009-08-31 21:58:22下载
    积分:1
  • JHGJGHJGFJG
    题目:取一个整数a从右端开始的4~7位。 程序分析:可以这样考虑: (1)先使a右移4位。 (2)设置一个低4位全为1,其余全为0的数。可用~(~0<<4) (3)将上面二者进行&运算。 2.程序源代码:(Topic: take an integer a from the right end of the four to seven began. Program analysis: it can be to consider: (1) to make a move to the right four. (2) sets a low four total for the 1, all the rest for 0 of the number. Can be used to (~ 0 < < 4) (3) will above the difference and operations. 2. The source code:)
    2012-05-26 20:20:03下载
    积分:1
  • rock
    离散元软件3DEC软甲隧道分析实例,考虑了节理分布情况以及各种支护结构单元,建模技术较高,有助于避免自带生成器的伪节理影响(Discrete element analysis software 3DEC soft-tunnel instance, consider the joint distribution as well as supporting a variety of structural units, higher modeling techniques to help avoid pseudo generator comes joints affected)
    2014-12-16 17:36:50下载
    积分:1
  • 696518资源总数
  • 105267会员总数
  • 12今日下载