-
- 2022-02-03 09:44:14下载
- 积分:1
-
本程序针对约瑟夫问题的描述:编号为12,……n的n个人按顺时针方向围成一圈,每人持有一个密码(正整数),一开始任选一个正整数作为报数上限值m,从第一个人开始按顺...
本程序针对约瑟夫问题的描述:编号为12,……n的n个人按顺时针方向围成一圈,每人持有一个密码(正整数),一开始任选一个正整数作为报数上限值m,从第一个人开始按顺序时针方向自1开始顺序报数,报道m时停止报数,报m的人处列将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。利用单向循环链表存储结构模拟此过程,按照出列的顺序印出各人的编号。
演示程序以用户和计算机的对话方式执行,即在计算机终端上显示“提示信息”下,用户输入循环人数n和每人的密码。-This procedure description specifically for Joseph problem: The serial number is 12, ... The n n individual surrounds the ready-made one circle according to the clockwise sense , each person holds (positive integer) a password, one positive integer beginning to assume a post of selections is upper limits ms numbering off, direction starts the hour hand beginning from the first people according to order from 1 numbering off in proper order , stop numbering off when reporting m, the person place column reporting m looks on his password as new m value , the individual begins to number off again from 1 , getting down like this from his time as soon as going ahead in clockwise sense, until proprietor all till leaving self s place in the ranks.
- 2022-10-13 13:15:03下载
- 积分:1
-
windows服务程序实例
windows服务程序例子,实现了服务的注册、卸载、启动、停止、暂停、恢复操作。
能够放应用到实际的应用中。
- 2022-09-05 09:20:03下载
- 积分:1
-
一个简单的曲线显示例子,祝初学者马达成功。visual c
一个简单的曲线显示例子,祝初学者马达成功。visual c-a simple example of the curve, I wish beginners Motor success. Visual c
- 2022-02-14 02:16:31下载
- 积分:1
-
astar算法的改进,很有用,运行没有错误,又需要的同学赶紧下哦...
astar算法的改进,很有用,运行没有错误,又需要的同学赶紧下哦-astar algorithm improvements, useful, run no errors, but also those students in need under the oh hurry
- 2022-05-29 17:12:41下载
- 积分:1
-
Source code can be compiled as part of the Stone Age
能编译的石器时代一部分源码Source code can be compiled as part of the Stone Age-Source code can be compiled as part of the Stone Age
- 2022-07-22 12:18:40下载
- 积分:1
-
vb development of a small example, a demonstration examples snow
一个vb开发的小例子,一个演示下雪的例子-vb development of a small example, a demonstration examples snow
- 2022-09-14 04:35:03下载
- 积分:1
-
你可以勾系统,做你想做的!
You can hook the system and do what you want!
- 2023-08-07 02:55:03下载
- 积分:1
-
multithreading procedures were doors demo
多线程程序人门演示-multithreading procedures were doors demo
- 2022-02-20 18:14:24下载
- 积分:1
-
计算器程序,用Visual C++调试,用C++编写
计算器程序,用Visual C++调试,用C++编写-Calculator program using Visual C++ Debugging with C to prepare
- 2022-03-23 05:47:19下载
- 积分:1