登录
首页 » C++ » 约瑟夫环代码

约瑟夫环代码

于 2022-02-15 发布 文件大小:1.69 MB
0 92
下载积分: 2 下载次数: 1

代码说明:

约瑟夫环问题:一圈共有N个人,从第s个人开始报数,报到M的人自杀,然后自杀的下一个人重新开始报数,报到m的就选择自杀,如此反复进行下去,问最后自杀的人是谁?

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

发表评论

0 个回复

  • chap11
    徑向基底函數類神經網路,是單隱藏層的3層前向網路,模擬人腦中局部調整,有很好的逼近能力(Radial basis function neural network, a single hidden layer of 3 layer to the network, simulating the brain partial adjust, has a very good approximation ability)
    2007-10-29 18:25:26下载
    积分:1
  • C# EXCEL导入SQL
    C# EXCEL导入SQL
    2015-03-04下载
    积分:1
  • jorhebe
    说明:  这是一个很好的程序很好用,希望给各会员们提供方便.(This is a good procedure is useful, the members hope to provide convenience.)
    2005-11-01 16:40:40下载
    积分:1
  • ferns_demo_v-1.1
    this programme for robots localisation uses the library opencv
    2012-01-19 17:05:17下载
    积分:1
  • 图像处理,模式识别,HOG特征提取
    图像处理,模式识别,图像处理中HOG特征的提取。
    2022-08-08 19:51:03下载
    积分:1
  • 串口+DMA(1.0)
    说明:  在串口中使用DMA来实现数据的快速收发,源码都有,程序编译通过。(The use of DMA in the serial port to achieve rapid data transceiver, source code, program compilation through.)
    2019-04-17 14:39:33下载
    积分:1
  • 精英STM32F103-RT-Thread示例
    说明:  正点原子精英版国产操作系统RT-THREAD程序源码,注意: 1.使用前请安装 rt-thread.rtthread.2.1.1,否则编译通不过; 2.编译器为MDK5,请确保版本>5.14,否则 rt-thread.rtthread.2.1.1安装失败。(Punctual Atomic Elite version of the domestic operating system RT-THREAD program source code, note: 1. Install rt-thread.rtthread.2.1.1 before use, otherwise the compilation will fail. 2. The compiler is MDK5. Make sure the version is > 5.14, otherwise the installation of rt-thread.rtthread.2.1.1 will fail.)
    2021-04-20 11:18:50下载
    积分:1
  • 凸壳 (贾维斯,格雷厄姆算法)
    在二维情况下的算法也被称为是贾维斯三月后 R.A.贾维斯出版于 1973 年;它有 O(nh) 的时间复杂度,其中 n 是数不清的
    2022-02-02 11:44:23下载
    积分:1
  • matlab2
    matlab 包括遗传变异,交叉等,包括计算结果等等。包括遗传算法。 (matlab yi chuan bian yi jiao cha bao kuo ji suan ji guo deng bao kuo yi chuan suan fa)
    2011-05-26 18:32:20下载
    积分:1
  • bus-load-data
    某地220kv母线负荷数据,对电力研究很有用(A 220kV bus load data, very useful for electric power research)
    2015-04-02 17:58:27下载
    积分:1
  • 696518资源总数
  • 106253会员总数
  • 14今日下载