-
编号为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
-
用汇编语言实现单片机电流检测程序
用汇编语言实现单片机电流检测程序-ASM
- 2022-06-16 02:28:18下载
- 积分:1
-
卖花姑娘的发声程序,汇编语言编写,附音阶表,可改变曲目...
卖花姑娘的发声程序,汇编语言编写,附音阶表,可改变曲目-Maihuaguniang the audible, assembler language, with chromatic scale, can change the repertoire
- 2023-08-29 18:10:03下载
- 积分:1
-
BCD multiply, the compilation environment where no compression BCD multiplicatio...
BCD码相乘,汇编环境里没有对压缩BCD码相乘的调整,相当于作业吧!-BCD multiply, the compilation environment where no compression BCD multiplication of adjustment, which is equivalent to operating!
- 2023-08-17 02:25:03下载
- 积分:1
-
手把手教asm,hex文件下载
S2实验板 AT89C51 12M晶振
实验2
手把手教asm,hex文件下载
S2实验板 AT89C51 12M晶振
实验2-10进制调整指令数码管从00-FF显示-手把手教asm, hex file download S2 experimental experimental crystal plate AT89C51 12M adjust instruction 2-10 hexadecimal digital tube display from 00-FF
- 2022-08-16 00:01:21下载
- 积分:1
-
很好的键盘驱动代码
很好的键盘驱动代码-good keyboard code
- 2023-08-30 20:50:04下载
- 积分:1
-
9153 + ht6122 + PT2258
TC9153+HT6122+PT2258
- 2022-08-14 14:06:39下载
- 积分:1
-
WinAsm32的确是一本好的教材,不管你是初学者,还是高手,都能从它里面学到很多的东西....
WinAsm32的确是一本好的教材,不管你是初学者,还是高手,都能从它里面学到很多的东西.-WinAsm32 is a good material, whether you are a beginner or expert, can learn from the inside many things.
- 2023-08-05 15:25:04下载
- 积分:1
-
对于软件avrcode XMODEM CRC
avrcode for xmodem crc software
- 2023-02-20 17:00:03下载
- 积分:1
-
一个小程序
一个小程序-a small program! ! Haha
- 2023-05-21 22:45:03下载
- 积分:1