登录
首页 » C# » 排序系统设计 功能:设编号为1,2,3,……,n的n(n>0)个人按顺时针方向围坐一圈,每个人持有一个正整数密码。开始时任选一个正整数做为报数上限m,...

排序系统设计 功能:设编号为1,2,3,……,n的n(n>0)个人按顺时针方向围坐一圈,每个人持有一个正整数密码。开始时任选一个正整数做为报数上限m,...

于 2022-04-24 发布 文件大小:739.00 B
0 142
下载积分: 2 下载次数: 1

代码说明:

排序系统设计 功能:设编号为1,2,3,……,n的n(n>0)个人按顺时针方向围坐一圈,每个人持有一个正整数密码。开始时任选一个正整数做为报数上限m,从第一个人开始顺时针方向自1起顺序报数,报到m是停止报数,报m的人出列,将他的密码作为新的m值,从他的下一个人开始重新从1报数。如此下去,直到所有人全部出列为止。令n最大值取30。要求设计一个程序模拟此过程,求出出列编号序列。 -Sorting system design features: Let numbered 1,2,3, ... ..., n of the n (n> 0) individuals sitting clockwise circle, each person holds a positive integer password. The beginning of a positive integer as reported optional maximum number of m, starting from the first person in a clockwise direction starting from a sequence reported the number of m is to stop the newspaper to report the number of people who reported m out of the column, his password as a new m value, the next person start from his re-reported from a number of. If things go on, until all of the column until all the up. Make n take the maximum 30. To design a program to simulate this process, find out the column number sequence.

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

发表评论

0 个回复

  • niudunfa
    数值计算法,牛顿法求解非线性方程,适用于VC6.0(Numerical calculation method, Newton' s method for solving nonlinear equations for VC6.0)
    2016-01-25 10:12:41下载
    积分:1
  • Ucos II arm Cotex A9
    Ucos II arm Cotex A9,Ucos II移植arm Cotex A9的相关源码,Ucos II移植arm Cotex A9的相关源码,Ucos II移植arm Cotex A9的相关源码,
    2022-01-28 10:52:11下载
    积分:1
  • 本教程以手把手的方式,通过简单实例入手,层层深入,对C#语言进行了详细而全面地讲解。本教程面向的对象为:1、看过一些初级C#教程,对基本语法,三大结构理解没有困...
    本教程以手把手的方式,通过简单实例入手,层层深入,对C#语言进行了详细而全面地讲解。本教程面向的对象为:1、看过一些初级C#教程,对基本语法,三大结构理解没有困难的人员。2、学习过其它语言,想转入到C#进行学习的人员。-The Guide to hands-on approach, starting with a simple example, layers of depth on the C# Language in detail and comprehensively explain. The object-oriented tutorial for: 1, read some of the primary C# Tutorial on basic grammar, the three have no difficulty in understanding the structure of personnel. 2, learning other languages, I would like to shift to the C# Learning personnel.
    2022-01-24 13:52:11下载
    积分:1
  • CPU使用率--示例源码下载.zip
    CPU使用率--示例源码下载.zip
    2019-08-08下载
    积分:1
  • KouChat_Win32
    用Socket实现服务器客户端于一体的局域网即时通讯系统,主要实现单人聊天,群聊,文件传输(On Socket Server client in one of the LAN instant messaging system, the main single chat, group chat, file transfer)
    2013-07-22 17:33:09下载
    积分:1
  • pinyin-master
    说明:  QT 输入法例子,内置汉字库和引擎。。。。。。(QT input method example, built-in Chinese character library and engine......)
    2020-08-17 23:20:56下载
    积分:1
  • 语音合成和语音识别Demo
    可以进行语音合成和语音识别,分成2个tab页,语音合成是将需要合成语音的文字复制进来,即可合成wav格式的语音文件;语音识别是对着麦克风说话,即可识别成汉字显示出来。
    2022-09-26 19:45:03下载
    积分:1
  • ISO_14230_3_1999
    ISO_14230_3_1999_道路车辆_诊断系统_关键词协议2000_第3部分_应用层。做诊断开发的童鞋应该能用得到。(ISO_14230_3_1999_ road vehicles _ diagnostic systems- Keyword protocol 2000_ _ Part 3 _ the application layer. The development of children' s shoes to make the diagnosis should be able to get.)
    2013-08-21 21:15:39下载
    积分:1
  • d4ef13
    Z源并网逆变器的间接单周电流控制策略Z source grid-connected inverter single week indirect current control strategy(Z source grid-connected inverter single week indirect current control strategy)
    2012-02-28 13:05:13下载
    积分:1
  • Example4
    采用贝叶斯正则化算法(抑制过拟合)提高 BP 网络的推广能力,采用两种训练方法, 即 L-M 优化算法(trainlm)和贝叶斯正则化算法(trainbr),用以训练 BP 网络;(Bayesian regularization algorithm (inhibition of over-fitting) to improve the generalization ability of BP network, using two training methods, that LM optimization algorithm (trainlm) and Bayesian regularization algorithm (trainbr), to train BP network )
    2011-07-22 18:39:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载