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

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

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

  • 本系统为餐饮管理系统,为现代餐饮业管理更便捷化,节约时间...
    本系统为餐饮管理系统,为现代餐饮业管理更便捷化,节约时间-This system is catering management system for modern catering industry oriented management more convenient, saving time
    2023-04-11 01:30:03下载
    积分:1
  • 1, for providing patients with better and faster and more efficient services and...
    1、为病人提供更好更快、更快的服务,提高医院在医疗市场的竞争力以及吸引更多的病人到本医院就医; 2、人力工资昂贵,迫使医院采用计算机以提高劳动效率; 功能:1、门诊挂号:为病人提供就医卡方便病人; 2、住院病人管理系统:是医院可以随时了解病人情况; 3、药房管理系统:提高了药品管理的质量,和工作效率; 4、门诊医生工作站、住院费用的管理、病历管理系统、以及外部接口等。-1, for providing patients with better and faster and more efficient services and improve the hospital in the medical market competitiveness and to attract more patients to the hospital 2, manpower, high cost of labor, forcing hospitals to improve the working efficiency of the computer function : 1, out-patient registration: In order to provide patients with the convenience of patients for medical treatment card 2, patients management system: a hospital patient can understand 3, pharmacy management system: To improve the quality of drug management, and efficiency 4, the doctor-patient workstations, the cost of hospital management, medical records management system, as well as external interfaces.
    2023-05-18 04:40:04下载
    积分:1
  • SSD7练习1
    ssd7的本人的答案, 供大家参考, 希望大家喜欢-ssd7 exercise1
    2022-03-20 18:34:57下载
    积分:1
  • own definition of an array overpack, which is a "user
    一个自己定义的数组外包装,这是“使用者自定义stl容器“的一个好例子,在数组之外包装了一层常用的容器界面。-own definition of an array overpack, which is a "user-defined stl containers" of a good example In addition to the array of packaging containers used layer interface.
    2022-04-18 12:19:28下载
    积分:1
  • 投票系统
    绝大多数工作门户让求职者报名注册一个免费账户,并允许他们搜索由雇主发布的职位空缺岗位上而言,雇主可审查个人简历。门户网站提供恢复过帐服务,使求职者进行复制和粘贴简历信息从字处理文档或建立一个新的恢复使用在线工具。工作门户通常提供提交一份已完成的简历,从字处理程序 (如 Microsoft Word 中创建的选项。求职者可以浏览由雇主发布的职位空缺和申请职位通过工作门户。
    2022-11-15 00:20:03下载
    积分:1
  • 经典一百道程序,包括和相关算法,对初学者非常有帮助的...
    经典一百道程序,包括数据结构和相关算法,对初学者非常有帮助的-Classic 100 procedures, including data structures and related algorithms, for the very helpful for beginners
    2023-09-08 21:05:03下载
    积分:1
  • 用VFP编写的报亭管理系统
    用VFP编写的报亭管理系统-VFP prepared by the newsstand Management System
    2022-05-09 12:11:01下载
    积分:1
  • Fugit calculation method of binary tree options use Fugit binomial tree to calcu...
    计算Fugit的二叉树期权方法 use Fugit binomial tree to calculate option value-Fugit calculation method of binary tree options use Fugit binomial tree to calculate option value
    2022-05-20 01:20:27下载
    积分:1
  • 这个是关于荒岛野人的算法实现,有什么问题请留言
    这个是关于荒岛野人的算法实现,有什么问题请留言-the savage wasteland of the algorithm to achieve and what problems they please leave
    2022-03-13 02:46:18下载
    积分:1
  • convex hull algorithm, scattered dots on the three
    凸壳算法,散点成三维体的方法,该方法从洋鬼子那得来的。-convex hull algorithm, scattered dots on the three-dimensional method from the foreign devils that comes from.
    2022-03-16 02:06:45下载
    积分:1
  • 696524资源总数
  • 103971会员总数
  • 70今日下载