-
编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数),一开始人选一个正整数作为报数上限m,从第一个人开始按顺时针方向从自1开始顺序报数,...
编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数),一开始人选一个正整数作为报数上限m,从第一个人开始按顺时针方向从自1开始顺序报数,报道m时停止报数。报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止,设计一个程序求出出列顺序。采用单向循环链表模拟此过程,按照出列的顺序印出各人的编号测试数据:m的初值为20;n=7,7个人的密码依次为:3,1,7,2,4,8,4,首先m的值为6(正确的出列顺序应为6,1,4,7,2,3,5)-No. 1, 2, ..., n n clockwise direction by individuals sitting around a circle, each holding a password (positive integers), a candidate started as a positive integers m ceiling on the number of reported from the first individuals to embark on the clockwise direction from the start sequence from a few newspaper reports m reportedly stopped a few. M reported out of the list of his password as a new value m, from the clockwise direction on the next re-started from a few reported so on, until all out all out, the design of a procedure sought out the order out. Listless one-cycle simulation process and follow the sequence shown in the numbers printed each test data : m for the initial 20; N = 7,7 personal passwords were : 3,1,7,2,4,8
- 2022-01-24 15:11:40下载
- 积分:1
-
ILSpy代码查看器,用于学习他人dll设计及代码构成
查看代码用的好工具,但是 经过特殊处理的代码,ilspy翻译过来的东西不容易人工去读懂。
想保存源代码,选择你要的dll 然后点菜单中的 “保存代码”。
- 2022-11-15 12:45:03下载
- 积分:1
-
VC++
VC++实现文件监控
VC++实现文件监控
VC++实现文件监控-VC++
- 2022-03-26 16:08:30下载
- 积分:1
-
toeplitz方程,预测反褶积必备,主要是方程的解法
toeplitz方程,预测反褶积必备,主要是方程的解法-toeplitz equations, predictive deconvolution essential, mainly equations
- 2022-01-26 04:46:32下载
- 积分:1
-
1. Windows CE下的内核调试工具
2. Windows CE下的常用调试手段
1. Windows CE下的内核调试工具
2. Windows CE下的常用调试手段
-1. Windows CE kernel debugging tools
2. Windows CE debugging tools used
- 2023-08-13 14:20:03下载
- 积分:1
-
CRC 算法的实现,在通讯使用它可提高通讯的可靠性.
CRC 算法的实现,在通讯使用它可提高通讯的可靠性.-CRC algorithm implementation, the communication can use it to improve communications reliability.
- 2022-09-17 11:10:03下载
- 积分:1
-
basechecker
这是自动检查的 url 列表的程序。基于 md5 的 alhorithm。使用快速实现此 alhorithm (与包括 asm)
- 2022-02-21 15:27:10下载
- 积分:1
-
Shape context 是一种基于特征的识别算子,其高性能的识别效果使只得到了广泛的应用,这些是学习Shape context 必须要看的一些资料已经自己的...
Shape context 是一种基于特征的识别算子,其高性能的识别效果使只得到了广泛的应用,这些是学习Shape context 必须要看的一些资料已经自己的一些学习总计希望能有所收获-Shape context is a feature-based recognition operator, its high-performance results so that only the recognition has been widely used, these are learning Shape context must be to look at some of the information has been a total of some of their own study hopes to have a harvest
- 2022-09-07 21:45:03下载
- 积分:1
-
一个透明窗体源代码,窗体标题采用API函数画出来的,效果还不错的,原作者"蓝色炫影"在标题栏没有实现,现经本人该后实现了标题显示 修改:陈峰 clg...
一个透明窗体源代码,窗体标题采用API函数画出来的,效果还不错的,原作者"蓝色炫影"在标题栏没有实现,现经本人该后实现了标题显示 修改:陈峰 clg-123@126.com-Form a transparent source code, form title used by the API function paintings, the effect is also good, original author of
- 2023-08-07 21:15:03下载
- 积分:1
-
some practice from studying vb language,there are many additive pictures,everyon...
通过学习vb语言,对它进行了一些实践性的操作。里面附加了图片,大家也可以试试!-some practice from studying vb language,there are many additive pictures,everyone can have a try.
- 2022-04-10 11:41:31下载
- 积分:1