-
本程序针对约瑟夫问题的描述:编号为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
-
This a source code of telephone number search system,it is very useful
This a source code of telephone number search system,it is very useful
- 2022-03-13 15:29:46下载
- 积分:1
-
池管理器程序
这是一个团结池管理器的插件,您可以使用管理你的项目。当你的游戏非常的显示时,您可以考虑使用它。换句话说,您可以使用它来草表现你统一的 game.you 可以获得要命玩游戏的能力。如下,我想,一些 asperts 插件 performance.1 你可以草的速度,以实例化的 gameobject.2 你可以减少的 system.3 您可以使用的内存资源合理。
- 2022-01-31 19:06:04下载
- 积分:1
-
JBuilder study the source code CD, which includes the basic Java in every aspect...
jbuilder学习光盘的源代码,其中包括Java的基本的每个方面,从applet,application到javaBean,-JBuilder study the source code CD, which includes the basic Java in every aspect, from the applet, application of javaBean.
- 2022-08-17 09:53:25下载
- 积分:1
-
SOCKED通信
关于socked套接字的实现,创建了客户端和服务器的通信,客户端可意向服务器发送消息,文件并且以udp tcp的方式,同样服务器的端可以接受,并且也可以发送消息 建了客户端和服务器的通信
- 2023-05-22 08:00:20下载
- 积分:1
-
利用vb生成曲线,即时显示输出的数据,鼠标移动到曲线上时,也可显示数据...
利用vb生成曲线,即时显示输出的数据,鼠标移动到曲线上时,也可显示数据-use vb generation curve, the output shown in the data, the mouse moved to the curve, she can also display data
- 2022-05-16 16:32:47下载
- 积分:1
-
一个Windows ping源码,用VC++6.0编写,socket 入门编程
一个Windows ping源码,用VC++6.0编写,socket 入门编程-a ping-source Windows, VC 6.0 preparation, induction socket programming
- 2022-07-26 12:50:03下载
- 积分:1
-
一个计算数组间的相似度的小程序
简单实用,输入两组数据,自动计算数据的相似度。
- 2022-01-24 14:50:17下载
- 积分:1
-
基于NTRIP协议的GPS数据传输程序!
基于NTRIP协议的GPS数据传输程序!-NTRIP agreement based on GPS data transfer process!
- 2022-02-03 03:44:25下载
- 积分:1
-
visualizador dst 田岛
simulador de bordados dst codigoo 丰泰阿伯托添加没有 facebook que disponibilizo 丰泰 https://www.facebook.com/fabricio.couto.3
- 2022-07-03 06:32:08下载
- 积分:1