-
编号为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
-
The driver of C8051 rtl, it will bring you very big benfit if you will read it,...
C8051 rtl的汇编驱动程序,如果能看懂会给你带来很大的好处,学习的好资料.-The driver of C8051 rtl, it will bring you very big benfit if you will read it, it is very nice.
- 2023-01-16 06:35:04下载
- 积分:1
-
CRC的8位校验,使用汇编写的程序.可以用来做通信数据的校验
CRC的8位校验,使用汇编写的程序.可以用来做通信数据的校验-CRC checksum of eight, was compiled using the procedure. Can be used for the calibration data communications
- 2022-04-14 20:25:35下载
- 积分:1
-
单片机为基础,C语言编写,提供了源代码和电路图,还有程序调试内容,实现交通灯的智能控制...
单片机为基础,C语言编写,提供了源代码和电路图,还有程序调试内容,实现交通灯的智能控制-jiao tong deng she ji jiao tong deng she ji jiao tong deng she ji
- 2022-05-31 20:00:01下载
- 积分:1
-
将存于DAT1开始的1个8字节BCD相加,结果放在SUM.考虑溢出.
将存于DAT1开始的1个8字节BCD相加,结果放在SUM.考虑溢出.-will be stored in the DAT1 began an eight-byte BCD together, the results on SUM. Consider spills.
- 2023-01-15 03:05:04下载
- 积分:1
-
汇编程序求1个数的四次方,8086测试通过。
汇编程序求1个数的四次方,8086测试通过。-compilation procedures for a number of the four sides, the 8086 test.
- 2022-10-24 03:25:03下载
- 积分:1
-
hui汇编语言资料 教程 一部值得收藏的经典教程
hui汇编语言资料 教程 一部值得收藏的经典教程-汇编资料
- 2022-01-31 09:23:40下载
- 积分:1
-
汇编子程序 大学课程设计需求者的最爱
汇编子程序 大学课程设计需求者的最爱-compilation subroutine university curriculum design needs a favorite
- 2023-04-11 00:55:03下载
- 积分:1
-
这是一个汇编代码简单修改的工具,还算是蛮经典的一个。
这是一个汇编代码简单修改的工具,还算是蛮经典的一个。-This is a simple modification of the tool assembly code, is actually quite pretty classic one.
- 2022-12-23 02:45:03下载
- 积分:1
-
Microcontroller to do their own car sprayed pictures, and procedures are used as...
自己做的单片机喷图小车的,程序是用汇编语言实现。小车可以喷出为五环。-Microcontroller to do their own car sprayed pictures, and procedures are used assembly language to achieve. Vehicles can be emitted for the five rings.
- 2022-06-27 06:03:43下载
- 积分:1