-
编号为1,2… n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,...
编号为1,2… n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数,报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个开始重新从1报数,如此下去,直至所有人全部出列为止,设计一个程序求出出列顺序。
(1)利用单循环链表作为存储结构模拟此过程;
(2)键盘输入总人数、初始报数上限值m及各人密码;
(3)按照出列顺序输出各人的编号。-Numbered 1,2 ... n of the n individuals sitting clockwise circle, each holding a password (positive integer). An optional start a positive integer as the number of reported upper limit of m, from the first person to embark on the clockwise direction starting from a sequence reported the number of stop newspaper report m the number of people who reported m out of the column, as his password The new m value, in a clockwise direction from his next start back from a newspaper a few, and so on, until all all out of the column until a program designed to find out the column order. (1) the use of one-cycle simulation in this linked list storage structure as a process (2) the total number of keyboard input, the initial report and the person m the upper limit o
- 2023-05-21 04:10:03下载
- 积分:1
-
汇编编程简单介绍
汇编编程简单介绍-compilation programming briefed
- 2022-03-18 14:36:43下载
- 积分:1
-
ds18b20温度检测六位数码管显示温度
ds18b20温度检测六位数码管显示温度
- 2022-11-29 11:05:03下载
- 积分:1
-
汇编语言程序设计
汇编语言程序设计-assembly language programming
- 2022-02-24 21:08:17下载
- 积分:1
-
通过用汇编语言编写液晶屏幕显示程序,连接左右液晶地址口和数据口,通过开关来来控制点亮和点灭.点亮开关则显示欢度佳节4个字样,点灭则屏幕是空....
通过用汇编语言编写液晶屏幕显示程序,连接左右液晶地址口和数据口,通过开关来来控制点亮和点灭.点亮开关则显示欢度佳节4个字样,点灭则屏幕是空.-Through the use of assembly language procedures for the preparation of liquid crystal display, LCD address to connect around the mouth and data port, through the switch to control light and point out. Lit switches show to celebrate the festive season four words, point out the screen is empty.
- 2022-05-24 08:23:55下载
- 积分:1
-
非常不错的初学者看的程序有硬件设计哦。我是菜鸟为了成为会员花了不少心事...
非常不错的初学者看的程序有硬件设计哦。我是菜鸟为了成为会员花了不少心事-very good look at the procedures for beginners hardware design oh. I was a birdie to become a member spent a lot of feelings
- 2022-03-04 08:58:17下载
- 积分:1
-
Proteus simulation Keil C and cell phone in English to realize the simulation in...
Keil C 和proteus仿真
实现对手机英文输入方式的仿真
-Proteus simulation Keil C and cell phone in English to realize the simulation input
- 2023-01-26 22:05:03下载
- 积分:1
-
This is my own system of course a student, I hope we can exchange ideas, opinion...
这是我自己编的一个学生选课系统,希望大家互相交流,友好的意见提出来!-This is my own system of course a student, I hope we can exchange ideas, opinions and friendly!
- 2022-03-14 01:20:47下载
- 积分:1
-
汇编程序的查询手册,还是蛮好用的。汇编程序的查询手册。...
汇编程序的查询手册,还是蛮好用的。汇编程序的查询手册。-Assembler manual query, or just fine useful.
- 2022-07-09 20:34:19下载
- 积分:1
-
各模块的功能
1.各种基本数据的录入。如:学生基本情况录入。
2.各种基本数据的修改。即:允许对录入的数据重新进行编辑、修改。
3...
各模块的功能
1.各种基本数据的录入。如:学生基本情况录入。
2.各种基本数据的修改。即:允许对录入的数据重新进行编辑、修改。
3.各种基本数据的插入。如:在学生选修课程基本信息中插入一条新信息。
4.各种基本数据的删除。如:假设某同学转学或出国深造,删除该生的相关信息。
5.基于各种数据的查询。如:姓张的所有同学、年龄小于20岁的同学。
基于各种基本数据的统计计算.
6.统计每个学生各门功课的平均成绩,并按平均成绩从高到低的次序排名输出每个学生各门功课的综合成绩和平均成绩(名次、学号、姓名、平均成绩、各门功课的考试成绩、综合成绩)。
7.统计并输出各班各门功课的平均成绩和总平均成绩。
8.统计并输出每个同学已修学分。
9.列出不及格学生清单(学号、姓名、不及格的课程和成绩)。
10. 保存文件。
11. 读取文件。
12. 退出系统。
- 2022-09-18 13:35:03下载
- 积分:1