-
约瑟夫环
1. 本演示程序利用一循环链表,每个结点为一人,类似将人按顺时针方向围坐一圈,每个结点包括,号码,密码.号码是作为排的顺序.密码用来作为下一次报数...
约瑟夫环
1. 本演示程序利用一循环链表,每个结点为一人,类似将人按顺时针方向围坐一圈,每个结点包括,号码,密码.号码是作为排的顺序.密码用来作为下一次报数的数字.当走到结尾时,再下个结点便循环回去,依此类推.
2. 演示程序以用户与计算机的对话方式执行,用户输入相应的数据,输出结果显示在其后。,即总结点数,和密码.
3. 程序执行的命令包括:1)创建链表 2)寻找结点 3)删除结点
4. 测试数据测试数据:m初始值20,n=7,7个人密码依次为:3,1,7,2,4,8,4。首先m值为6,正确出列顺序为6,1,4,7,2,3,5。
-Josephus 1. The demonstration program using a chain cycle, each node to a person, similar to a clockwise direction by people sitting circle, and each node include numbers, Password. As the number is the sequence. used as a password the next few reported figures. When reached at the end, the next nodes will cycle back, and so forth. 2. Demonstration Program to computer users with implementation of the dialogue, the corresponding user input data and output results in later. , Summed up the quota, and password. 3. Procedures for the implementation of the order include : 1) Create List 2) Find node 3) delete nodes 4. test data test data : the initial value of 20 m, n = 7, 7 PIN followed : 3,1,7,2,4,8,4. M value fo
- 2022-07-24 02:51:37下载
- 积分:1
-
在TI DSP单片机液晶显示测试程序
lcd display test program in ti dsp mcu -lcd display test program in ti dsp mcu
- 2022-03-22 08:57:24下载
- 积分:1
-
1, the two products add background, background Categories 3, add background frie...
1、后台添加产品
2、后台分类
3、后台添加友情连接
4、会员管理
5、客户留言
6、在线订单
7、捆绑了《忠网广告管理系统》
8、公告发布、管理
管理员:admin 密码:admin888
-1, the two products add background, background Categories 3, add background friendship linking four, five members of management, customers six messages, online orders seven, tied up the "loyalty advertising network management system", 8 announcement, management administrator : admin password : admin888
- 2022-01-24 15:32:18下载
- 积分:1
-
用E语言编写的一个简单游戏,第一次做做的不是很好,请多多指教...
用E语言编写的一个简单游戏,第一次做做的不是很好,请多多指教-With E written in a simple game, for the first time doing the not very good, please the exhibitions
- 2022-02-01 18:35:11下载
- 积分:1
-
一个非常简单的使用DWM API的例子
一个使用dwmapi窗口的非常简单的例子。要求:winvista-8,Delphi XE+,对于更旧的版本Delphi,有必要修改常规用法
- 2022-02-25 22:34:02下载
- 积分:1
-
这是介绍WCF中事务概念的一个例子,用实例介绍事务的概念非常清楚。...
这是介绍WCF中事务概念的一个例子,用实例介绍事务的概念非常清楚。-This is to introduce the concept of WCF in the transaction an example of examples introduce the concept of transaction is very clear.
- 2022-06-26 21:35:37下载
- 积分:1
-
力麒排队系统系统管理
力麒排队系统系统管理-edge Yee Queuing System System
- 2022-02-26 12:52:10下载
- 积分:1
-
基于LABVIEW平台的声卡的频谱分析仪,希望对大家有所帮助。
基于LABVIEW平台的声卡的频谱分析仪,希望对大家有所帮助。-LABVIEW platform based on the audio spectrum analyzer, we want to help.
- 2022-06-27 14:44:15下载
- 积分:1
-
利用C++的类和对象编写C++的应用程序,宠物小屋的综合程序。适合学习C++类和对象的菜鸟。...
利用C++的类和对象编写C++的应用程序,宠物小屋的综合程序。适合学习C++类和对象的菜鸟。
- 2022-02-22 08:25:22下载
- 积分:1
-
一个关于多重纹理映射的源代码,这是nehe教程的一个经典例子!...
一个关于多重纹理映射的源代码,这是nehe教程的一个经典例子!-a multi-texture mapping of the source code, which is one of the guidebook nehe classic example!
- 2023-04-06 16:20:04下载
- 积分:1