-
编号为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
-
Matlab通信系统的建模仿真
实验四 数字频带传输系统的建模与仿真...
Matlab通信系统的建模仿真
实验四 数字频带传输系统的建模与仿真-matlab
- 2022-09-29 23:25:04下载
- 积分:1
-
应用很广泛的反汇编软件合集,可以方便的进一步改进程序
应用很广泛的反汇编软件合集,可以方便的进一步改进程序-Application of a wide range of anti-compiled a collection of software, it will be convenient to further improve procedures
- 2022-11-21 07:15:03下载
- 积分:1
-
EPPROM于单片机D应用程序
epprom yu mcu d yingyong chengxu
- 2022-11-30 05:25:03下载
- 积分:1
-
TC1320 drive the process to achieve the realization of DA conversion. Entrance p...
本程序实现驱动TC1320实现DA转换。
入口参数:待转换的数据在SOU中。
出口参数:无。-TC1320 drive the process to achieve the realization of DA conversion. Entrance parameters: the data to be converted in the SOU. Export parameters: None.
- 2022-01-25 16:18:25下载
- 积分:1
-
Windows环境下32位汇编语言程序设计配套书源码第15章
Windows环境下32位汇编语言程序设计配套书源码第15章-Windows Environment 32-bit assembly language programming book source package Chapter 15
- 2022-05-31 13:47:28下载
- 积分:1
-
微机原理课程设计,设计一段音乐,根据音调在发光二极管上对应闪烁,并在七段数码管上显示已播放时间。...
微机原理课程设计,设计一段音乐,根据音调在发光二极管上对应闪烁,并在七段数码管上显示已播放时间。-Computer Principles of curriculum design, the design of a section of music, according to pitch in the corresponding LED flashes, and Seven-Segment LED display has been broadcasting time.
- 2023-06-15 22:25:03下载
- 积分:1
-
飞利浦320*240液晶驱动,seed13350控制板.
飞利浦320*240液晶驱动,seed13350控制板.-320* 240 Philips LCD driver, seed13350 panels.
- 2022-03-05 07:54:38下载
- 积分:1
-
循环冗余校验与编译实现(计算机网络…
crc循环冗余校验用汇编实现(计算机网络作业)-crc cyclic redundancy check with the compilation of implementation (computer network operations)
- 2023-07-15 12:00:03下载
- 积分:1
-
图书管理系统,管理图书的借阅与归还,并进行记录
图书管理系统,管理图书的借阅与归还,并进行记录-Library management system to manage the books borrowed and returned, and recorded
- 2022-03-22 09:51:51下载
- 积分:1