-
设Internet上有N个站点,通常从一个站点发送消息给其他N-1个站点,需依次发送N-1次。
这样从一个站点发布消息传遍N个站点时,可能要较长时间。...
设Internet上有N个站点,通常从一个站点发送消息给其他N-1个站点,需依次发送N-1次。
这样从一个站点发布消息传遍N个站点时,可能要较长时间。
设从每一个站点都可以向其他N-1个站点同时发送消息.
当一个站点发布消息给若干个站点后, 设为k个, 已获得消息的这1+k个站点就可以同时发布消息给另外若干个站点, 设为t个, 此后就有 1+k+t 个站点可以同时发布消息,这种发布消息方法应该会缩短消息传遍N个站点的时间。
请您编一个程序, 编程求出从第一个站点开始发布消息传遍N个站点的最短时间。
- 2022-01-27 09:55:19下载
- 积分:1
-
zoj吐血制作,希望大家喜欢
zoj吐血制作,希望大家喜欢-hematemesis zoj production, I hope everyone likes
- 2022-07-13 01:57:43下载
- 积分:1
-
网上银行
- 2022-01-31 11:20:56下载
- 积分:1
-
led电子显示屏推送数据
通过IP地址推送显示消息到电子显示屏LED。使用16进制的方式推送
- 2022-04-22 20:05:35下载
- 积分:1
-
this was more commonly used operating system examples of a systematic access to...
这个是比较多的常用的系统操作的示例,有系统信息获取,文件访问等等的方法介绍.. -this was more commonly used operating system examples of a systematic access to information, documents, etc. visit on the way ..
- 2022-04-01 10:08:44下载
- 积分:1
-
abela beier 编程
abela beier 编程-program with abela beier
- 2022-04-15 16:00:11下载
- 积分:1
-
最新仙镜传说服务器C语言源码,网络游戏公开源码
最新仙镜传说服务器C语言源码,网络游戏公开源码-latest cents Mirror legend C language source server, network game open source
- 2022-07-05 14:14:20下载
- 积分:1
-
more documentation procedures to help document the establishment, including the...
多文档程序中帮助文件的建立,包括帮助的主题索引等的设计-more documentation procedures to help document the establishment, including the subject index to help in the design
- 2023-03-07 09:10:03下载
- 积分:1
-
自己做的源代码统计工具。。用的是Vc6.0
自己做的源代码统计工具。。用的是Vc6.0-Make their own source code statistical tools. . Using a Vc6.0
- 2022-03-05 02:46:49下载
- 积分:1
-
一个儿童时期玩的小游戏,用VB编写的,主要说明 了一些走棋算法....
一个儿童时期玩的小游戏,用VB编写的,主要说明 了一些走棋算法.-a childhood playing small games, prepared by the VB, mainly to explain away some of the chess algorithm.
- 2022-10-14 08:20:02下载
- 积分:1