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

Joseph-problem

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

  • hilight
    AutoCad Entity Highlight
    2009-10-28 15:22:51下载
    积分:1
  • yes
    容积率kjl判决安排看见;‘ 破案的怕 片斗破 破萨克怕 阿道夫家具;佳得乐会计法阿道夫阿道夫阿道夫啊阿斯蒂芬安抚阿斯蒂芬’(saf asdf asdf adf asdf adsf asdf asdf asdf asdf asdfwqefsa asdf aadf asdf a)
    2017-05-01 14:17:17下载
    积分:1
  • FaceControl5
    使窗口总在最前显示,C++精选学习源码,很好的参考资料。(The display window always on top, C++ select learning source code, a good reference.)
    2013-11-27 07:25:17下载
    积分:1
  • Space_Environment
    倾情奉献,这是我编的一个电离层的解算程序,里面有各参数的详细说明,希望对大家有所帮助(Portrait of dedication, which I made a solution of the ionosphere counting procedures, which have a detailed description of each parameter, and they hope to help everyone)
    2008-04-19 13:35:16下载
    积分:1
  • CSmtp
    使用Base64编码实现的相应的邮件的发送的程序,// Original class CFastSmtp written by // christopher w. backen <immortal@cox.net> // More details at: http://www.codeproject.com/KB/IP/zsmtp.aspx(Achieved using the Base64 encoding to send the message corresponding procedures,// Original class CFastSmtp written by// christopher w. backen <immortal@cox.net>// More details at: http://www.codeproject.com/KB/IP/zsmtp.aspx)
    2010-05-26 13:06:49下载
    积分:1
  • 645-376.1
    支持电力规约645,376.1等相关规约的485代码,支持常用电表控制信令代码,(Support the power of the Statute 645,376.1 Statute 485 and other related code, support for common control signaling code meter,)
    2020-09-09 21:08:03下载
    积分:1
  • 1-20
    vc灵感编程范例源代码 01 菜单加速键 02 动态创建菜单 03 位图菜单项 04 制作鼠标右键弹出的菜单 05 给系统菜单添加菜单项 06 模式对话框 07 无模式对话框 08 AfxMessageBox的使用 09 基于对话框的应用程序 10 改变对话框的背景色 11 滚动轴的使用 12 隐藏任务栏 13 限制窗口大小的改变 14 创建不规则窗口 15 透明窗口 16 一个总在最上的紫色窗口 17 使窗口居中显示 18 拖非标题栏移动窗口 19 拆分窗口 20 自动停靠窗口(vc inspiration source code programming examples accelerated 01 menu button to create dynamic menu 02 03 04 menu items map system with the right mouse button for the pop-up menu of 05 added to the system menu mode menu items 06 07 modeless dialog box 08 A. fxMessageBox 09 based on the use of dialog 10 applications to change the background color dialog 11 the use of the rolling axis 12 13 hidden task bar window size limit of 14 changes to create irregular window transparent window 15 1 six in a total of the top 17 purple window so that the window of 18 middle-trailers moving window title bar window 20 19 Resolution automatic call window)
    2004-07-22 03:11:11下载
    积分:1
  • zoj1094
    zoj094 Matrix multiplication problem is a typical example of dynamical programming. Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multiplications are performed is arbitrary. However, the number of elementary multiplications needed strongly depends on the evaluation order you choose. For example, let A be a 50*10 matrix, B a 10*20 matrix and C a 20*5 matrix. There are two different strategies to compute A*B*C, namely (A*B)*C and A*(B*C). The first one takes 15000 elementary multiplications, but the second one only 3500. Your job is to write a program that determines the number of elementary multiplications needed for a given evaluation strategy. (Matrix multiplication problem is a typical example of dynamical programming. Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multiplications are performed is arbitrary. However, the number of elementary multiplications needed strongly depends on the evaluation order you choose. For example, let A be a 50*10 matrix, B a 10*20 matrix and C a 20*5 matrix. There are two different strategies to compute A*B*C, namely (A*B)*C and A*(B*C). The first one takes 15000 elementary multiplications, but the second one only 3500. Your job is to write a program that determines the number of elementary multiplications needed for a given evaluation strategy. )
    2012-06-10 10:38:53下载
    积分:1
  • xuaualgveterminegdraw
    这是用VC++环境做成的一个图形编程的练习,是一个旋转的风车,()
    2018-02-20 11:51:23下载
    积分:1
  • 13.6
    这是一个利用dsp2812开发版自带的ad转化器,实现电信号转化成数字信号,并将数据存贮在存贮器的程序(This is a using DSP2812 development version comes with AD converter, realizes the electrical signal into digital signal and the data stored in the memory of the program )
    2015-07-09 11:46:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载