登录
首页 » Visual C++ » Monkey

Monkey

于 2009-12-28 发布 文件大小:1KB
0 248
下载积分: 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 个回复

  • brisk
    brisk描述子,matlab语言,好懂易学(brisk descriptors, matlab language, easy to understand to learn)
    2021-04-08 22:59:00下载
    积分:1
  • 0000888
    个人觉得很不错,值得一看,大家有兴趣的可以看看(Personally feel very good, worth a visit, we are interested can look at)
    2010-02-23 19:29:01下载
    积分:1
  • zcgzxl
    最长公共子序列的 c代码,可以直接运行获得结果。(C code for the longest common subsequence can be run directly.)
    2013-12-04 16:13:33下载
    积分:1
  • seismic
    内含五个程序 1.zoeppritz Aki K I 和Richards P G的纵波近似程序 2.地震记录合成程序 3.大地电磁一维正演程序 4.雷克子波合成程序 5.地震反射系数生成程序(1.zoeppritz Aki KI and Richards PG longitudinal wave approximation procedures 2. Seismogram synthesis program 3. Magnetotelluric one-dimensional forward modeling program 4. Ricker wave synthesis procedure 5. Seismic reflection coefficient generator)
    2013-11-23 20:50:58下载
    积分:1
  • References
    WRK实验所需要软件的参考说明(Windbg)(inactivated laboratory reference to the need for software (Windbg))
    2007-03-19 09:13:26下载
    积分:1
  • PSNRSSIM_matlab
    matlab计算两幅图片之间的psnr和ssim值,彩色图片,算法是转换为YUV计算的,YCbCr(matlab computing psnr and ssim value between two pictures, color pictures, the algorithm is converted to YUV calculation, YCbCr)
    2015-08-28 22:21:18下载
    积分:1
  • tqjs
    说明:  实现大地测量学中,椭球参数解算。(包括正解和反解)(Achieve geodesy, the ellipsoid parameters solver. (Including the positive solution and counter-solution))
    2010-03-30 22:11:08下载
    积分:1
  • smartdec-plugin-v0.0.4-win-qt4.8
    Hex-Rays decompiler alternative for IDA 6.5+
    2014-08-27 00:10:23下载
    积分:1
  • Assignment3
    matlab about interpolation image processing, sfu, burnaby, bc, canada, v5a3z3
    2015-01-23 14:14:18下载
    积分:1
  • PDopplerCComh
    相位编码脉冲压缩雷达的多普勒补偿偿算法,实现对信号的补充可直接使用。 (Phase-coded pulse compression radar, Doppler compensation compensation algorithm, to supplement the signal can be used directly.)
    2012-07-20 08:22:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载