登录
首页 » 算法 » 输入小孩总数n,从第k个小孩开始,循环的步长m。输出:最先输出的是第一个胜利者,其次为第二个,最后为第N个胜利者。...

输入小孩总数n,从第k个小孩开始,循环的步长m。输出:最先输出的是第一个胜利者,其次为第二个,最后为第N个胜利者。...

于 2022-03-31 发布 文件大小:633.00 B
0 185
下载积分: 2 下载次数: 1

代码说明:

输入小孩总数n,从第k个小孩开始,循环的步长m。输出:最先输出的是第一个胜利者,其次为第二个,最后为第N个胜利者。-Enter the total number of children n, from the first k-child start the cycle of steps m. Output: The first output is the first winner, followed by the second, and finally for the first N winner.

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

发表评论

0 个回复

  • Mahout Canopy&KMeans聚类
    Mahout Canopy&KMeans聚类示例代码 描述了使用Mahout Canopy&KMeans的快速聚类分析,简单直接上手 直接上代码了
    2023-02-07 16:10:03下载
    积分:1
  • massive mimo THP algrorithm
    应用背景On the Design of ZF and MMSE Tomlinson-Harashima Precoding in Multiuser MIMO Amplify-and-Forward Relay System,it is main described the mimo system in the multi-user  scenario.the main precoding algrithm is combined the zf precoding and the MMSE precoding.关键技术we design a zero-forcing (ZF) Tomlinson-Harashima precoding (THP) and a minimum mean square error (MMSE) THP for multiuser MIMO relay system with direct link. Based on these precoding structures, we propose the optimal combining weights of the ZF THP and the MMSE THP in half duplex relay system, and the sub-optimal weights of MMSE THP to reduce feedback channel state information(CSI). Through the Monte Carlo simulation, we verify that the optimal weights combining method outperforms the constant weights combining method. In addition, we confirm that the performance of the sub-optimal weights combining method is&
    2023-02-25 18:10:03下载
    积分:1
  • 算术码编码代码源程序
    算术码编码代码源程序-source code
    2022-12-04 22:55:03下载
    积分:1
  • 在 JAVA 中桦木算法
    桦木(平衡迭代的减少和群集使用层次结构) 是无监督数据米宁g 使用算法来执行层次聚类 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-12-10 18:20:03下载
    积分:1
  • Map editor, map editor,
    地图编辑器, -Map editor, map editor,
    2022-03-04 14:38:43下载
    积分:1
  • FFT
    载波生成器+博立业算法分析器。多功能,主要用于演示。-FFT
    2022-03-19 15:11:26下载
    积分:1
  • 数据预处理的计算
    应用背景简单地数据处理,计算两组数据间的相似性,应用在推荐系统的数据处理中,其他方向的数据处理也适用,比较简单易学,供学习交流。关键技术用C++语言实现的简单数据处理,在很多研究方向可以用于预处理数据,计算数据的相似性也是很多研究方向需要用到的,希望对大家有用。
    2023-07-14 06:50:02下载
    积分:1
  • traffic_light
    应用背景`时间1ns / 1ps/////////////////////////////////////////////////////////////////////////////////// /公司:和;/ / /工程师;/ / / / / / / / / /;//创建日期: ; ;15:48:50 11 / 30 / 2关键技术`时间1ns / 1ps///////////////////////////////////////////////////////////////////////////////// /公司:和;/ /工程师:/ / / ///创建日期: ;15:49:44 11 / 30 / 2015/ /设计名称: ;semaforo/ /模块名称: ;C:/用户/学生/文件/应用/ 7 / semaforo_edgar semaforo_fix V。/ /项目名称: ;semaforo_edgar/ /目标设备;/ /工具版本;/ /描述:&;/ / / // / Verilog测试夹具的ISE模块创建:semaforo/ / / // /依赖关系:/ / / / / / / / / /;/ /修订:/ /修订0.01文件创建/ /附加评论:/ / / / / / / / / /;////////////////////////////////////////////////////////////////////////////////模块semaforo_fix;/ /输入reg RST;reg CLK;/ /输出丝SR1;丝SA1;丝SV1;金属锶;丝SA2;线2;//实例化在测单元(UUT)semaforo UUT(。RST(RST),& nbsp;。时钟(CLK),& nbsp;。SR1(SR1),& nbsp;。SA1(SA1),& nbsp;。SV1(STR),& nbsp;Sr(锶)。,& nbsp;。SA2(SA2),& nbsp;SV2(SV2)。);初步开始/ /初始化输入RST = 0;时钟= 0;为全球复位完成100纳秒/ /等待# 100;和公司;及;及;在这里增加刺激终点和公司
    2023-07-12 13:35:02下载
    积分:1
  • 本实验主要涉及解线性方程组的列主元消去法.通过编辑程序,能更深入地了解到列主元消去法的内涵.并且通过计算比较,也可以了解到数据的精度及舍入误差等一系列有关因素....
    本实验主要涉及解线性方程组的列主元消去法.通过编辑程序,能更深入地了解到列主元消去法的内涵.并且通过计算比较,也可以了解到数据的精度及舍入误差等一系列有关因素.-this study involved solving linear equations of main-element elimination. Through the editorial process, to better understand out to the main yuan elimination connotations. through calculation and comparison, Data can also understand that the accuracy of rounding error and a series of other relevant factors.
    2022-01-26 06:12:16下载
    积分:1
  • 几个基本的程序机制和算法
    几个基本的程序机制和算法-Several basic procedures mechanisms and algorithms
    2023-02-25 00:15:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载