文件名称:joseph
介绍说明--下载内容均来自于网络,请自行研究使用
具体的要求和说明如下:
(1)利用单向循环链表存储结构模拟此过程,按照出列的顺序输出个人的编号。
(2)m的初值为20;n=7,7个人的密码依次为:3,1,7,2,4,8,4,首先m的值为6(正确的出列顺序应为:6,1,4,7,2,3,5)。
(3)程序运行后,首先要求用户指定初始报数的上限值,然后读取个人的密码。可设n<=30,此题所用的循环链表中不需要“头结点”,请注意空表和非空表的界限。
(4)将上述功能改为在顺序结构上实现-Specific requirements and instructions are as follows: (1) the use of one-way circulation list storage structure simulation of this process, in accordance with the output of individuals listed in the order number. (2) m for the initial 20 n = 7,7 personal password as follows: 3,1,7,2,4,8,4, first of all, the value of m for 6 (out of the correct order should read as follows: 6,1,4,7,2,3,5). (3) after the program is running, first of all require users to specify the number of the initial report on the threshold, and then read the personal password. Can be installed n
(1)利用单向循环链表存储结构模拟此过程,按照出列的顺序输出个人的编号。
(2)m的初值为20;n=7,7个人的密码依次为:3,1,7,2,4,8,4,首先m的值为6(正确的出列顺序应为:6,1,4,7,2,3,5)。
(3)程序运行后,首先要求用户指定初始报数的上限值,然后读取个人的密码。可设n<=30,此题所用的循环链表中不需要“头结点”,请注意空表和非空表的界限。
(4)将上述功能改为在顺序结构上实现-Specific requirements and instructions are as follows: (1) the use of one-way circulation list storage structure simulation of this process, in accordance with the output of individuals listed in the order number. (2) m for the initial 20 n = 7,7 personal password as follows: 3,1,7,2,4,8,4, first of all, the value of m for 6 (out of the correct order should read as follows: 6,1,4,7,2,3,5). (3) after the program is running, first of all require users to specify the number of the initial report on the threshold, and then read the personal password. Can be installed n
(系统自动生成,下载前可以参看下载内容)
下载文件列表
约瑟夫.txt