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

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

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

  • 关键路径的查询算法关键 路径的查询算法 关键路径的查询算法...
    关键路径的查询算法关键 路径的查询算法 关键路径的查询算法-关键路径的查询算法
    2022-02-02 13:06:17下载
    积分:1
  • everlasting General existing 21 matches, two from rotation, each person could ta...
    天长地久一般现有21场比赛,两人轮换,每人可从1场拿下4场,不可多拿。我们也不能得到,谁拿了最后的红火谁输了比赛。请编写一个人机游戏的程序,先向电脑索取并取得“一台电脑要‘长生不老将军’”*分析和设计算法后在电脑上取情况,才能使电脑成为‘长生不老将军’必须从中找出关键。按照这个题目的要求来总结自己的想法,以后取一个为数的孩子与对方只需一步和数额相等,最后我们就可以保证给孩子留下一个长子这是个人的。相应的分析算法
    2022-09-28 14:10:03下载
    积分:1
  • SQL Server database structure viewer program (VC
    SQL Server 数据库结构查看程序(VC源码)-SQL Server database structure viewer program (VC-source)
    2022-02-13 10:03:24下载
    积分:1
  • 本程序用Visual C++ 6编写的,使用了MFC、库…
    本程序使用Visual C++6.0编写,使用了MFC,数据库用的是SQL Server,要正常运行本程序,请安装该数据库,并参看压缩文件中的DBConfig.ini文件。本程序如果和已经上传的NetControlManager已经完全可以满足用户对局域网控制的需求,特色功能包括:登陆认证、局域网内特定IP上网限制等-This procedure using Visual C++ 6.0 preparation, the use of the MFC, the database used is SQL Server, to the normal operation of this program, please install the database and see the compressed file in the document DBConfig.ini. This procedure has been uploaded If NetControlManager has been fully able to meet user demand for LAN control, features include: login authentication, LAN specific IP access restrictions
    2022-07-27 23:04:34下载
    积分:1
  • 基于的相关知识点,造的基排序
    基于数据结构的相关知识点,构造的基数排序-Knowledge-based data structure point of radix sort
    2022-09-30 17:50:03下载
    积分:1
  • 求矩阵特征值、解方程组
    求矩阵特征值、解方程组 -seeking matrix eigenvalue solution equations for matrix eigenvalue equations Solutions
    2022-03-18 20:26:41下载
    积分:1
  • a good bubble sort procedures.
    一个很好的bubble sort 程序-a good bubble sort procedures.
    2022-03-01 03:25:11下载
    积分:1
  • 的基本操作:顺序队列的初始化、销毁、入队、出队基本操作的实现...
    数据结构的基本操作:顺序队列的初始化、销毁、入队、出队基本操作的实现-The basic operation of the data structure: the order of the queue initialization, destruction, into the team, out of the realization of basic operations team
    2022-01-28 08:45:48下载
    积分:1
  • 用链表求300的阶乘,并且返回链表节点的个.
    用链表求300的阶乘,并且返回链表节点的个数.-used for the factorial 300, and returned to the linked list node number.
    2022-03-17 21:47:18下载
    积分:1
  • 库的资源管理系统
    用数据库的资源管理系统-use database resource management system
    2022-02-21 08:14:19下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载