首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

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

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

  • 资源大小:48.42 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 数据结构 java

资 源 简 介

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.

文 件 列 表

原程序
joseph.c
joseph.doc
JOSEPH.EXE
上交 说明文件.doc
VIP VIP
0.179247s