登录
首页 » 数据结构 » 2.1将n个人围成一圈,m为未进入游戏前的先行码,用来淘汰第一个出 局的人,然后依次给出淘汰者的密码,根据输入的密码来确定下一个淘汰是哪一个,并依次输出被淘汰的...

2.1将n个人围成一圈,m为未进入游戏前的先行码,用来淘汰第一个出 局的人,然后依次给出淘汰者的密码,根据输入的密码来确定下一个淘汰是哪一个,并依次输出被淘汰的...

于 2022-01-26 发布 文件大小:48.42 kB
0 164
下载积分: 2 下载次数: 1

代码说明:

2.1将n个人围成一圈,m为未进入游戏前的先行码,用来淘汰第一个出 局的人,然后依次给出淘汰者的密码,根据输入的密码来确定下一个淘汰是哪一个,并依次输出被淘汰的人对应的号码。 2.2用单向循环链表实现操作。-2.1 n personal cordons m not yet entered the game before the first yards out for the first out, then eliminated were given the password, the password to determine under which a one-out, and turn out the output of the corresponding number. 2.2 List circle with a one-way operation to achieve.

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

发表评论

0 个回复

  • access+vb工资管理系统。没有文档。 功能较全面。工资表的修改,查询,生成。工资计算公式的修改。登陆的时候有管理员账户。...
    access+vb工资管理系统。没有文档。 功能较全面。工资表的修改,查询,生成。工资计算公式的修改。登陆的时候有管理员账户。-access vb wage management system. No documentation. More comprehensive function. The wage scale changes inquiries generated. Wage formula changes. Landing when caretakers accounts.
    2022-04-11 06:22:39下载
    积分:1
  • sgfdsgsdfsdfsdfasdgfagagggag
    权限控件sdfsfsdagfadsgasdgads-sgfdsgsdfsdfsdfasdgfagagggag
    2022-12-16 17:30:03下载
    积分:1
  • ADO库操作
    ADO 数据库操作
    2022-10-27 22:20:03下载
    积分:1
  • 源码及程序设计示例
    程序设计示例.rar 算法一览.rar
    2022-07-04 04:59:06下载
    积分:1
  • 问题描述:设有11种不问的钱币各若干张,可用这II种钱币产生许多不同的面值。试 设计一个算法,计算给定的某个面值,能有多少种不同的产生方法。例如有1分3张,...
    问题描述:设有11种不问的钱币各若干张,可用这II种钱币产生许多不同的面值。试 设计一个算法,计算给定的某个面值,能有多少种不同的产生方法。例如有1分3张,2分 3张,5分1张,则能组成7分面值的方法有:3个1分+2个2分,1个1分十3个2分,2 个1分+1个5分,1个2分+1个5分共四种。 ^编程任务:对于给定的II种不同钱币,编程计算某个给定面值能有多少种不同的产生 方法。-Problem Description: There should be 11 kinds of coins did not ask the number of beds available this II produced many different kinds of coin denominations. Try to design an algorithm to calculate a nominal value of a given that there can be many different returned. For instance, a sub-3, 2 points 3, 5 min 1, then can be composed of seven sub-par methods are: 3 1 min+2 2 points, a 1 minute 10 3 2 points, 2 1 points+1 5 points, a 2 min+1 5 minutes of four kinds. ^ Programming task: for a given II different coins, the calculation of a given program can have many different denominations is returned.
    2022-11-21 20:10:03下载
    积分:1
  • matlab论文,对于一些人可能有用的。第一次上传,不是很精通。...
    matlab论文,对于一些人可能有用的。第一次上传,不是很精通。-matlab papers may be useful for some people. The first upload is not very proficient. Hehe
    2022-03-20 22:40:37下载
    积分:1
  • err
    1.把"Web"文件夹内的文件拷贝到某个文件夹 2.在IIS中新建站点,指向该文件夹,如果新建虚拟路径,会导致一些图片的不正常显示. 3."Database"文件夹内有数据库文件hyb2bTest_Data.MDF,在Sql Server企业管理器中选择"附加数据库" 4.需要修改根目录web.config文件 ,改成当前数据库地址 ,改成当前数据库用户名 ,改成当前数据库密码 ,改成当前数据库名称 ,分别也换成当前数据库的地址,用户名、密码以及数据库名称。 5.后台登录地址: 当前路径+manage/index.aspx 帐户:admin 密码:admin 环境要求: Windows2000 / Windows2003 + IIS5 + .NET Framework 1.1 + MS SQL Server 2000 或各更高版本 演示地址:www.hyb2b.cn 电话:13061363607 MSN :huayousoft@hotmail.com-err
    2023-05-29 02:50:04下载
    积分:1
  • 库系统:访问库。访问库并能对出错进行捕捉
    数据库系统:访问数据库。访问数据库并能对出错进行捕捉-database system : access to the database. Access to the database and is able to capture for mistakes
    2022-07-05 08:42:30下载
    积分:1
  • 与算法
    Data Structures and Algorithms with Object-Oriented Design Patterns in C# 这本书的范例代码dll自己反编译的source code http://www.brpreiss.com/books/opus6/-Data Structures and Algorithms with Objec t-Oriented Design Patterns in C# this book since dll code examples his opposition to the compiler source code http :// www.brpreiss.com/books/opus6/
    2022-05-21 13:29:19下载
    积分:1
  • c++链表模板类,实现所有链表的功能!
    c++链表模板类,实现所有链表的功能!包括增删改查,反转、递归反转等功能。对数据结构初学者有极高的参考价值。且代码规范,命名规范,有很多注释帮助理解。
    2022-08-16 10:11:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载