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

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

于 2022-01-26 发布 文件大小:48.42 kB
0 149
下载积分: 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 个回复

  • Note : This section of the review of data structure and algorithm, a few scatter...
    说明: 这一段在复习数据结构和算法,有一些零星笔记,在Others这个归类下,欢迎指正。 对于排序算法,想做一个动态演示的东东,因此今天使用VB.net大概实现了一个,界面如下,代码有2个版本,一个可以指示当前循环的位置(但设计感觉不好,也找不到更好的办法),一个没有。 -Note : This section of the review of data structure and algorithm, a few scattered notes, in the classified Others, welcomed the correction. For Sorting Algorithm and do a demonstration of the dynamic page, and it is probably using VB.net achieved one of the following interface, the code has two versions, one can instruct the current cycle position (but feel bad design, but also find better ways), a no.
    2023-08-16 01:40:02下载
    积分:1
  • 多项式的计算器,可以用来加减乘除各类多项式并得出正确果...
    多项式的计算器,可以用来加减乘除各类多项式并得出正确结果-Polynomial calculator can be used all kinds of polynomial addition and subtraction multiplication and division and reached a correct result
    2022-01-30 15:25:40下载
    积分:1
  • ASP 购物站点管理员选项
    ASP 购物站点管理员选项。 此示例演示一个原油的虚拟购物车,包括内联网 (或后台管理)。
    2022-06-15 09:20:56下载
    积分:1
  • 嵌入式库软件 嵌入式库软件 嵌入式库软件
    嵌入式数据库软件 嵌入式数据库软件 嵌入式数据库软件-Embedded database software for embedded database software for embedded database software
    2023-07-16 06:05:03下载
    积分:1
  • 一元多项式相加程序,用于完成一元多项式的相加
    一元多项式相加程序,用于完成一元多项式的相加-One of the polynomial sum of procedures used to complete the sum of the polynomial 1
    2022-01-26 05:40:56下载
    积分:1
  • Delphi2005库开发教程.rar
    Delphi2005数据库开发教程.rar-Delphi2005shujukukaifa
    2022-08-16 10:28:44下载
    积分:1
  • 矩阵运算
    Matrix operations solution of AX=B Jordan and newton Methods
    2022-03-03 02:05:43下载
    积分:1
  • 重写了微软提供SQLHelper(共用的库调用接口) 1把SqlHelper的connectionString做成一个全局量,统一设置库连接字符串 2增...
    重写了微软提供SQLHelper(共用的数据库调用接口) 1把SqlHelper的connectionString做成一个全局量,统一设置数据库连接字符串 2增加了返回特定表名的DataSet的各接口。 可在项目的config文件设置数据库连接字符串 private static string connectionString = System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"] 当然可以把数据库连接方法修改后直接用。-rewritten Microsoft SQLHelper (shared database Call Interface) a SqlHelper the connectionString caused an overall volume, uniform database connections increased by two strings to the specific name of the table in the DataSet interface. In the config files set database connection string private static string connectionString = System.Configuration.ConfigurationSettings.AppSettings [ "ConnectionString"] lt; !-- Application specific settings-- gt; Lt; AppSettingsgt; Lt; Add key
    2022-06-02 10:24:49下载
    积分:1
  • ADO&VC&SQL的例子,很经典
    ADO&VC&SQL的例子,很经典-ADO
    2022-07-09 05:36:04下载
    积分:1
  • 中的八皇后问题
    数据结构中的八皇后问题-data structure of the eight Queen"s problems
    2023-03-27 07:55:03下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载