-
约瑟夫环
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
-
ENET01002
说明: archivo de ingenieria para WD2
- 2020-06-17 01:27:04下载
- 积分:1
-
1
说明: 5G网络仿真,附带matlab程序以及论文,适合做5G研究的同学看看!(Optimal femtocell density for maximizing throughput in 5G heterogeneous networks under outage constraints)
- 2018-07-12 17:57:53下载
- 积分:1
-
prioritf-calpulator-calculator
一个漂亮的带优先级的简单计算器 A nice simple calculator with priority(A beautiful take priority of simple calculator A nice simple calculator with priority)
- 2017-04-06 15:06:19下载
- 积分:1
-
ConvertTool
GBK,unicode utf-8 编码转换工具(Encode Convert Tool between GBK,unicode utf-8,url)
- 2020-06-22 23:40:01下载
- 积分:1
-
LCD_bERGERAK
说明: Program arduino untuk LCD dengan tulisan bergerak
- 2019-03-20 12:17:14下载
- 积分:1
-
清新的企业网站jQuery二级图文下拉菜单
清新的企业网站jQuery二级图文下拉菜单,非常适合企业网站、公司产品网站使用的大气导航菜单,带阴影效果,鼠标移上后,显示相关的二级子菜单,整体风格我个人还是很喜欢的。运用的技术:jquery css.
- 2022-07-05 07:59:36下载
- 积分:1
-
RSSI定位matlab仿真
说明: 可将光 定位 仿真 基于RSSI matlab(Light positioning simulation Based on RSSI matlab)
- 2020-12-28 20:29:01下载
- 积分:1
-
NI采集卡6009数据记录软件
说明: 动态波形监控,频域显示,可调整采样点和采样率,调整采样间隔。(Dynamic waveform monitoring, frequency domain display, adjustable sampling point and sampling rate, and adjustable sampling interval.)
- 2020-03-24 14:39:16下载
- 积分:1
-
pattern recognition to the classifications, it is written in their own, relative...
模式识别中有关分类的,这是自己写的,比较简单.-pattern recognition to the classifications, it is written in their own, relatively simple.
- 2022-05-09 06:54:36下载
- 积分:1