登录
首页 » Visual C++ » Monkey

Monkey

于 2009-12-28 发布 文件大小:1KB
0 219
下载积分: 1 下载次数: 5

代码说明:

  山上有m只猴子要选大王,选举办法如下:所有猴子从1到m进行编号并围坐一圈,从第一号开始按顺序1,2,...n继续报数,凡是报n号的猴子都退出到圈外,照此循环报数,直到圈内只剩下一只猴子时,这只猴子就是大王.输出大王的编号。 (Mountains have m of the monkeys to elect king, method of election are as follows: All monkeys are numbered from 1 to m, and sitting around a circle, to begin from the first order 1,2, ... n continue to report the number of those who reported that n No. The monkeys are out to outsiders the basis of this report the number of cycles until the circle only one monkey, the monkey is king. Output King number.)

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

发表评论

0 个回复

  • S6frreedommani
    六自由度机械臂调试程序源码,国外的的,具有非常高的借鉴意义 (Six degrees of freedom manipulator debugger source, abroad, the very high reference)
    2012-07-22 23:31:03下载
    积分:1
  • Fir-Lesmana
    this application is detect face with alorithm
    2015-01-12 16:49:16下载
    积分:1
  • MexDemoNet2
    说明:  《MATLAB7.x与C/C++混合编程》配套的源程序 6.5.2节代码 vc.net通过扩展MFC动态链接库创建MEX程序(&quot MATLAB7.x and C/C++ mixed programming,&quot supporting the source code vc.net 6.5.2 MFC dynamic link library by extending the program to create MEX)
    2011-03-04 17:07:23下载
    积分:1
  • svm
    基于支持向量机传感器故障诊断Matlab原程序( Fault Diagnosis Based on the SVM)
    2021-05-14 15:30:03下载
    积分:1
  • matlab_Koch
    利用Matlab对Kouch曲线的程序编写,能生成Koch曲线并绘制图形,级数作为外部参数输入,可调整。(The use of Matlab program of Kouch curve to write, can generate Koch curve and graphics rendering, series as external input parameters, can be adjusted)
    2013-12-09 22:16:41下载
    积分:1
  • rtdxlms
    说明:  一个MATLAB的应用程序,很方便的!使用时需要转换为M文件。(a MATLAB applications, a convenient! Use need to change for the M documents.)
    2006-03-16 16:37:09下载
    积分:1
  • oven_VCPP
    焦炉加热燃烧过程即时模型设计,把焦炉温度的实时数据生成温度曲线,实现了VC++与matlab的混合编程(Instant combustion process of coke oven model design)
    2013-09-04 15:03:25下载
    积分:1
  • dizhengdao
    合成地震记录是用声波测井或垂直地震剖面资料经过人工合成转换成的地震记录(地震道) 合成记录的制作是一个简化的一维正演的过程,合成记录F(t)是地震子波S(t)与反射系数R(t)褶积的结果。(Synthetic seismogram is sonic or vertical seismic profile data after conversion into synthetic seismograms (seismic trace) the production of synthetic seismogram is a simplified one-dimensional forward modeling process, synthetic seismogram F (t) is the seismic wavelet S (t) and the reflection coefficient R (t) the convolution results.)
    2021-03-21 11:39:17下载
    积分:1
  • Apriori
    Aprior算法在matlab中的算法。编程语言为C++。APPRIOR算法是关联规则的一种算法(Aprior anology in kdd)
    2011-11-01 21:24:39下载
    积分:1
  • picture
    主要使图像进行灰度化处理,matlab的源代码,视同再进一步的预处理中应用(Gray image)
    2014-01-05 18:07:47下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载