-
编号为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
-
汇编程序的查询手册,还是蛮好用的。汇编程序的查询手册。...
汇编程序的查询手册,还是蛮好用的。汇编程序的查询手册。-Assembler manual query, or just fine useful.
- 2022-07-09 20:34:19下载
- 积分:1
-
ADuc812的各种功能程序的例子!很有参考价值
ADuc812的各种功能程序的例子!很有参考价值
- 2022-03-12 20:21:03下载
- 积分:1
-
本程序是数字钟的单片机汇编程序,可供大家参考。
本程序是数字钟的单片机汇编程序,可供大家参考。-This procedure is the single-chip digital clock assembler for your reference.
- 2022-01-26 05:43:20下载
- 积分:1
-
mainly used for LCD driver, and some information about it, such as after a tame...
主要用于LCD的驱动,还有一些关于它的资料,等以后再传上来,它是驱动128*64大小的LCD,相当有用,也相当有价值,使用起也很简单!-mainly used for LCD driver, and some information about it, such as after a tame onto, it is 128* 64-size LCD, very useful and very valuable, since use is also very simple!
- 2022-01-26 03:39:54下载
- 积分:1
-
计算器的VFP源代码,共享一下经验,希望大家能一起在这方面成为朋友...
计算器的VFP源代码,共享一下经验,希望大家能一起在这方面成为朋友-camputer
- 2022-04-18 01:02:56下载
- 积分:1
-
control interrupted code compilation
控制中断的汇编代码-control interrupted code compilation
- 2022-07-18 12:42:41下载
- 积分:1
-
- 2022-02-01 02:41:41下载
- 积分:1
-
用汇编语言实现:通过键盘输入任意两点坐标,在屏幕上开一个窗口,并设定控制窗口的颜色,要求屏幕呈现颜色的变化。(huangyujie)
用汇编语言实现:通过键盘输入任意两点坐标,在屏幕上开一个窗口,并设定控制窗口的颜色,要求屏幕呈现颜色的变化。(huangyujie)-assembly language : 2:00 keyboarding arbitrary coordinates on the screen in an open window and set the color control window, the screen has requested a change in color. (Huangyujie)
- 2023-01-29 19:25:03下载
- 积分:1
-
手机中用的I2C代码,包含GPIO口说明
手机中用的I2C代码,包含GPIO口说明-phone using I2C code, the oral statement contains GPIO
- 2023-01-09 15:45:03下载
- 积分:1