-
【问题描述】 设有n个人围坐在圆桌周围,现从某个位置m(1≤m≤n)上的人开始报数,报数到k的人就站出来。下一个人,即原来的第k+1个位置上的人,又从1开始报数...
【问题描述】 设有n个人围坐在圆桌周围,现从某个位置m(1≤m≤n)上的人开始报数,报数到k的人就站出来。下一个人,即原来的第k+1个位置上的人,又从1开始报数,再报数到k的人站出来。依此重复下去,直到全部的人都站出来为止。试设计一个程序求出出列序列。 这是一个使用循环链表的经典问题。因为要不断地出列,采用链表的存储形式能更好地模拟出列的情况。-[n-- with the individuals sitting around the round table is from a certain location m (1 m n) of people reported the number of reported number of people who have come out. Next individuals, that the original clause k a position who reportedly started from a few, and reported that the number of people who come forward. Accordingly continue to repeat until all of the people come out so far. Test procedures designed sought out a sequence out. This is a use of recycled Chain classic problem. Due to the constant up and be using the storage form of Chain better simulate down.
- 2022-07-01 15:37:34下载
- 积分:1
-
STM32示波器完整包
基于STM32的示波器的完整程序与硬件,可以显示波的各种参数,和真实示波器一样。(The complete program and hardware of Oscilloscope Based on STM32 can display various parameters of wave, just like real oscilloscope.)
- 2018-04-04 17:20:54下载
- 积分:1
-
zigbee智能家居源码
找到一个很好的资料,和大家分享下,android智能家居,里面资料说明齐全,好资料大家共同学习!
- 2022-08-18 08:41:34下载
- 积分:1
-
devmode
WinCE操作系统下运行的一个旋转屏幕的小程序。(err)
- 2007-12-28 18:32:44下载
- 积分:1
-
AES-CMAC
(1). 复习AES原理。
(2). 用C/C++编写AES算法并调试通过。
(3). 复习CMAC原理。
(4). 在实现AES基础上,用C/C++编写CMAC算法并调试通过。
(5). 回答下列思考题。
AES解密算法和AES的逆算法之间有什么不同?
CMAC与HMAC相比,有什么优点?
((1). Review AES works. (2) with C/C++ write and debug via the AES algorithm. (3) review CMAC principle. (4) on the basis of achieving AES using C/C++ CMAC algorithm written and debugged. (5) Answer the following Questions. What is the difference between AES and AES decryption algorithm inverse algorithm? CMAC compared with HMAC, what are the advantages?)
- 2020-11-20 11:39:36下载
- 积分:1
-
DM8127x总结
关于dm814x的一些认识,主要是syslink link建立和注意事项,m3的capture图像采集,vpdma的理解,iss isp resizer图像缩放,dsp库添加等。
- 2022-01-26 05:20:48下载
- 积分:1
-
managementlevelofstudentmanagement
说明: 提高学生管理的管理水平,优化资源,尽可能地降低学校的管理成本,成为学生管理的新课题.(To improve the management level of student management, optimize resources and minimize the cost of administering the school to become a new student management issues.)
- 2010-03-28 21:28:35下载
- 积分:1
-
3
说明: 用刷选法求出100之内的素数。并输出数有多少个。(100 prime number is calculated by the method of selection. And the output count how many.)
- 2013-09-11 19:40:35下载
- 积分:1
-
COM
VC2008写的 ATL 进程外COM组件(ATL-process COM components)
- 2013-08-18 14:08:31下载
- 积分:1
-
TC
说明: 数据结构算法实现C++ Builder上机验证实现(Data structure algorithms to achieve local authentication on C++ Builder)
- 2013-05-23 22:01:10下载
- 积分:1