-
编号为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
-
use of the card RTL8139 development to make the PC hard drive, network card, pas...
利用对网卡RTL8139的开发,使PC硬盘,网卡,口令为一体,从而实现对硬盘数据的保护.-use of the card RTL8139 development to make the PC hard drive, network card, passwords as one. thus the hard drive data protection.
- 2022-11-03 09:05:02下载
- 积分:1
-
用8251实现串行口异步通信,自发自收,波特率1200bps。采用查询方式发送与接收。从键盘输入发送字符。发送与接收的字符均在屏幕上显示。按esc键返回dos...
用8251实现串行口异步通信,自发自收,波特率1200bps。采用查询方式发送与接收。从键盘输入发送字符。发送与接收的字符均在屏幕上显示。按esc键返回dos-Achieved with the 8251 serial asynchronous communication, spontaneous self-income, the baud rate 1200bps. Way to send and receive using queries. To send characters from the keyboard. Send and receive characters are displayed on the screen. Press esc key to return to dos
- 2023-08-01 07:45:03下载
- 积分:1
-
从CMOS读取信息显示时钟程序
从cmos中读取信息,来显示时间的时钟程序-from CMOS Read information to show that the clock procedures
- 2022-05-15 22:59:35下载
- 积分:1
-
利用dsPIC30F DSC电机正弦控制
Sinusoidal Control of PMSM Motors with dsPIC30F DSC
- 2022-12-05 03:50:03下载
- 积分:1
-
此程序对端口进行测试,保证其方向的正确性。
此程序对端口进行测试,保证其方向的正确性。-This procedure to test port to ensure the correctness of its direction.
- 2022-03-21 06:03:50下载
- 积分:1
-
The use of assembly language to achieve a 32
利用汇编语言实现32位下的推箱子游戏,代码以小组的模式编写,代码完整独立,程序界面不错。并且还有440k的实验报告,内容完整,经历了软件工程的所有步骤。-The use of assembly language to achieve a 32-bit under the Sokoban game code to write the model group, code complete independence, a good program interface. And there are 440k of the experimental report, content integrity, and has experienced all the steps of software engineering.
- 2022-07-25 22:40:18下载
- 积分:1
-
当然他好通惠家园进45一任何牛肉汤教育局人格温热图5一45 王汝刚奖金额汤旺河安徽认为他易货交易精华...
当然他好通惠家园进45一任何牛肉汤教育局人格温热图5一45 王汝刚奖金额汤旺河安徽认为他易货交易精华-Of course, good通惠家园him into any one of 45 beef soup warm personality Fig.5 Education 1 45王汝刚prize money Tangwang River in Anhui consider him the essence of barter transactions
- 2022-12-11 04:40:03下载
- 积分:1
-
汇编源码 写注册用源码 可自定义皮肤 ASM源码
汇编源码 写注册用源码 可自定义皮肤 ASM源码-Compilation of source code was registered with the source code can be customized skin
- 2022-02-20 08:27:22下载
- 积分:1
-
提供周立功7289(zlg7289)的汇编控制代码
提供周立功7289(zlg7289)的汇编控制代码-Provide weeks Ligong 7289 (zlg7289) compilation of control code
- 2022-03-24 14:46:33下载
- 积分:1