-
编号为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
-
这是一个判断某一年是否为润年的程序,运行可执行程序Ifleap.exe后,输入具体的年份, 可输出是本年是否为闰年的提示信息。...
这是一个判断某一年是否为润年的程序,运行可执行程序Ifleap.exe后,输入具体的年份, 可输出是本年是否为闰年的提示信息。-This a judgment of whether a particular year of a leap year, the running executable Ifleap.exe after importation of specific year, the output this year is a leap year if the message.
- 2022-10-18 18:10:03下载
- 积分:1
-
汇编课程设计显示彩色矩形块
汇编课程设计显示彩色矩形块-compilation curriculum design rectangular blocks of color show
- 2022-08-03 06:22:57下载
- 积分:1
-
在我们生活中,我们很容易通过这个叫张三,那个叫李四,另外一个是王五;那是因为每个人有不同的名子,我们就很快认出,同样,对于要通过一个按键来识别每种不同的功能,我...
在我们生活中,我们很容易通过这个叫张三,那个叫李四,另外一个是王五;那是因为每个人有不同的名子,我们就很快认出,同样,对于要通过一个按键来识别每种不同的功能,我们给每个不同的功能模块用不同的ID号标识,这样,每按下一次按键,ID的值是不相同的,所以单片机就很容易识别不同功能的身份了。-In our lives, we can easily Zhang through this three or four叫李that, another five-Wang it is because everyone has a different name, we quickly identified, and similarly, for a button to pass to identify the different functions of each, we have different functions to each module" s ID number with different logo, so, for every one button press, ID is not the same value, so it is easy to identify the different single-chip function hats.
- 2023-02-25 05:05:03下载
- 积分:1
-
In the window instead of using the bmp file in response to WM_PAINT message, win...
在窗口上使用bmp文件而不用响应WM_PAINT消息,win32汇编源码,及编译好的exe文件,汇编爱好者不错的选择-In the window instead of using the bmp file in response to WM_PAINT message, win32 compilation of source code, and compiled exe files, the compilation of fans a good choice
- 2022-09-24 03:40:03下载
- 积分:1
-
LCD modle AT1602 显示程序,纯用ASM汇编编写,可作参考使用哦!如有问题请联系我。13710397625,陈sir...
LCD modle AT1602 显示程序,纯用ASM汇编编写,可作参考使用哦!如有问题请联系我。13710397625,陈sir
- 2022-08-20 12:10:33下载
- 积分:1
-
PC的地下
Pc Underground - Assembly Language - The True Language Of Programmers-Pc Underground- Assembly Language- The True Language Of Programmers
- 2022-09-10 15:55:11下载
- 积分:1
-
Clock Display Program written in 892051 assembly language
892051用的显示时钟程序,对汇编学习有用。-Clock Display Program written in 892051 assembly language
- 2022-08-13 01:14:11下载
- 积分:1
-
TMS320VC5416的8个LED测试程序,简洁,运行稳定.5410上与些类似.
TMS320VC5416的8个LED测试程序,简洁,运行稳定.5410上与些类似.-TMS320VC5416 of eight LED testing procedures, simple, stable operation .5410 with more similar.
- 2022-08-22 05:27:23下载
- 积分:1
-
Hanoi Tower design, we hope to useful, please exhibitions.
汉诺塔设计,希望对大家有用,请大家多多指教。-Hanoi Tower design, we hope to useful, please exhibitions.
- 2022-01-26 01:27:29下载
- 积分:1