登录
首页 » Visual C++ » Monkey

Monkey

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

  • Turbo-MATLAB
    这个turbo码的matlab仿真程序~~希望对大家会有用~~谢谢~~我只想要和大家分享一下(The turbo code matlab simulation program we hope will be useful ~ ~ ~ ~ ~ I just want to thank you and share with you)
    2020-06-30 02:20:01下载
    积分:1
  • SVM
    支持向量机 算法在特征提取中的应用 源代码(Support vector machine algorithm in feature extraction of the source code)
    2011-04-20 10:44:32下载
    积分:1
  • yuesefuhuan
    1、熟悉掌握线型表的基本操作在两种存储结构上的实现的,其中以各种链表的操作和应用作为重点。 2、利用顺序存储结构模拟此过程,按照出列的顺序输出各个数的编号。 (1, familiarity with the basic operation of linear form in the two kinds of storage structure on the realization, in which various lists of the operation and application of focus. 2, using sequential storage structure simulation of this process, in accordance with a different number of columns in the order of the output number.)
    2009-12-30 08:46:40下载
    积分:1
  • rain-flow-counting-method
    随机载荷模拟及雨流计数方法在matlab中的实现(Random load simulation and rain flow counting method implemented in matlab)
    2013-04-23 12:20:19下载
    积分:1
  • MATLAB-and-vc
    MATLAB与VC混合编程 对大家很有帮助的 希望大家可以下载 MATLAB与VC混合编程 对大家很有帮助的 希望大家可以下载(MATLAB and VC mixed programming Helpful I hope we can download)
    2012-04-17 10:28:21下载
    积分:1
  • Fimage
    二维数据成像利器,看波场快照、地震记录专用(Two-dimensional data imaging tool, see the wave field snapshots, seismogram special)
    2015-04-29 10:37:47下载
    积分:1
  • charconvert
    模仿南极星写的一个编码转换工具,日文,中文,uf8之间的转换。当初为了写这个工具调查了很多资料。难得的,很少人写这方面的东西。花了不少时间。(NJStar imitate write a code conversion tool, Japanese, Chinese, uf8 conversion between. We had to write this tool to investigate a lot of information. Rare, very few people write things in this regard. Spent a lot of time.)
    2007-11-22 14:33:23下载
    积分:1
  • OSTU
    是自适应阈值的分割,主要对图像用matlab进行分割图像,确定图像想要的东西(Adaptive segmentation threshold, the main image to image segmentation using matlab, determine what image you want)
    2014-01-05 18:13:18下载
    积分:1
  • vit
    vit程序清晰简单,容易阅读,matlab调用易实现(vit procedures clear and straightforward, easy to read, matlab call easy to realize)
    2011-05-03 14:19:19下载
    积分:1
  • OCR2
    this file classify number an alphabet
    2009-12-05 01:00:35下载
    积分:1
  • 696516资源总数
  • 106641会员总数
  • 4今日下载