-
约瑟夫环
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
-
MSP430 driver PCF8583 clock chip as an excuse to IIC bus
MSP430驱动时钟芯片PCF8583
借口为IIC总线-MSP430 driver PCF8583 clock chip as an excuse to IIC bus
- 2022-03-10 03:08:53下载
- 积分:1
-
静态数码管显示的控制,数码管为共阳极数码管,静态时选中位选送高电平,相应的段选送1点亮其中的段...
静态数码管显示的控制,数码管为共阳极数码管,静态时选中位选送高电平,相应的段选送1点亮其中的段-Static digital tube display control, digital control for a total of anode digital tube, static high level when the selected bit selected, the corresponding selected paragraph one paragraph one lit
- 2022-05-13 02:26:57下载
- 积分:1
-
一款经典的手机游戏HighSeas。文件包中包含java源码以及图片和音乐素材...
一款经典的手机游戏HighSeas。文件包中包含java源码以及图片和音乐素材-A classic mobile phone game HighSeas. Java file package contains the source material, as well as pictures and music
- 2022-11-25 11:05:03下载
- 积分:1
-
Compulsary Library for Visual C++ 6.0, Visual C++ 2005, Visual Studio.net
Compulsary Library for Visual C++ 6.0, Visual C++ 2005, Visual Studio.net
- 2022-03-12 10:01:13下载
- 积分:1
-
Labwindows/CVI example of the procedure is too small, place in 1:00 to share! !
Labwindows/CVI方面的例子程序实在太少了,放上一点给大家共享-Labwindows/CVI example of the procedure is too small, place in 1:00 to share! !
- 2022-04-27 16:31:35下载
- 积分:1
-
Communication System Simulation, and AM, PSK modulation, etc., as well as other...
通信系统仿真,有AM,PSK等调制,还有其他文件(system环境下),是仿真文件-Communication System Simulation, and AM, PSK modulation, etc., as well as other documents (system environment)
- 2023-07-17 13:35:03下载
- 积分:1
-
Reerse Access channel.
Reerse Access channel.
- 2022-06-30 21:06:13下载
- 积分:1
-
停止各色杀毒/防火墙软件进程的批处理
停止各色杀毒/防火墙软件进程的批处理-Colors stop antivirus/firewall software batch process! ! !
- 2022-08-02 20:07:38下载
- 积分:1
-
构造一组输入为白噪声加三个频率非常接近的正弦波,其信噪比为10dB,观测长度为256。试分别用普通AR谱估计和采用功率噪声抵消算法的AR谱估计估计这组信号的频率...
构造一组输入为白噪声加三个频率非常接近的正弦波,其信噪比为10dB,观测长度为256。试分别用普通AR谱估计和采用功率噪声抵消算法的AR谱估计估计这组信号的频率,并比较结果。-constructed a group of white noise input plus three very close to the frequency sine wave, the signal-to-noise ratio of 10dB. Observing length of 256. Were used to test the general AR spectral estimation using power and noise canceling algorithm for the estimation of AR spectrum estimation of this group of signal frequency, and the results of the comparison.
- 2022-09-05 13:40:03下载
- 积分:1