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

Joseph-problem

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

  • aa
    说明:  VC++与WINDOW编程。是一部很好的电子书(VC++ AND WINDOW STUDY)
    2010-03-12 14:29:29下载
    积分:1
  • Projects
    一个使用PSPICE来完成的大作业,内含所有源文件(a big homework of pspice)
    2012-07-04 12:05:26下载
    积分:1
  • avih
    avi 音视频数据格式编码.avi.h为avi.c的头文件(avi video and audio data coding format. Avi.h the first to document avi.c)
    2006-10-23 13:10:44下载
    积分:1
  • SIS
    ASP.NET关于就业系统设计的源码,很详尽,注释清晰,容易学习(Employment System)
    2013-11-10 21:05:57下载
    积分:1
  • attiny13_AD
    AVR单片机attiny13的AD采样程序包,内含在Avr Studio 4下开发的完成源代码和在protues 7.10下开发的完整的仿真图,功能说明在程序注释中。(AVR microcontroller attiny13 AD sampling package, containing the Avr Studio 4 developed under the complete source code and developed under the protues 7.10 complete simulation diagram, function described in the program note.)
    2020-10-09 16:47:36下载
    积分:1
  • NJ
    实验停车场管理,用C++,在VC++6.0下运行(Parking management experiment with C++, running under VC++6.0)
    2014-01-05 22:57:20下载
    积分:1
  • 31701012836
    C++编写的简单分数类(包含复制,约分,四则运算等)(Simple fraction classes written in C++ (including duplication, reduction, four operations, etc.))
    2019-06-11 12:01:16下载
    积分:1
  • facerecognize
    一般的人脸识别程序,可供大家学习使用!大家也可以继续 完善哦!(Face recognition procedures in general for the U.S. study to use! U.S. can continue to improve the Oh!)
    2009-02-26 13:13:00下载
    积分:1
  • ajks
    说明:  许多现代浮点单元的一项主要体系结构功能,是能够将一个乘法与后面紧跟的加法作为单个运算执 行,且没有中间舍入误差。例如,Intel 的 Itanium 体系结构提供了一些指令,将三元运算 (a*b+c) 、(a*b-c) 和 (c-a*b) 中的每一个都组合为单个浮点指令(分别为 fma、fms 和 fnma)。这些单个 指令都比执行独立的乘法和加法指令快,并且因为没有中间乘法舍入,所以更为精确。该优化可以显 著提高那些含有多个交错乘法和加法运算的函数的速度(many modern floating point unit of a major system structure and function is to be a follow closely behind multiplication and addition of implementation as a single operator, with no intermediate rounding error. For example, Intel's Itanium architecture provides a number of directives to the ternary operator (a* b, c), (a* b-c) and (c-a* b) each have a portfolio to a single floating point instructions (Fullmetal respectively, and fms fnma) . These individual instruction than the implementation of an independent and additive multiplication instructions quickly, and because no middle multiplication into homes, so more precise. The optimization can significantly increase those containing more than staggered multiplication and addition operations function of the speed)
    2006-03-23 20:52:57下载
    积分:1
  • vcPPbczn
    VC++ 编程指南,入门教程,初学者必读(VC++ Programming Guide, Tutorial)
    2011-07-13 14:32:41下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载