-
设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
-
java实现的银行管理系统,有存款 取款 查询等功能
java实现的银行管理系统,有存款 取款 查询等功能-java实现的银行管理系统,有存款 取款 查询等
- 2022-10-06 22:00:02下载
- 积分:1
-
A pressure gauge procedures, in the dialog box enter the number above ruler can...
一个压力计程序,在对话框中输入数字,上面的尺子就可自动跑到对应的数字上-A pressure gauge procedures, in the dialog box enter the number above ruler can automatically go to the corresponding figures
- 2022-06-14 08:51:33下载
- 积分:1
-
knapsack problem, VC small program
背包问题,VC小程序-knapsack problem, VC small program
- 2022-02-21 18:52:43下载
- 积分:1
-
实现自动扫雷的小程序... .
实现自动扫雷的小程序... .
-Automatically mine a small program ... ....
- 2022-05-20 23:26:48下载
- 积分:1
-
8086cpu的汇编语言程序,实现欢迎界面,计算平均值,和等功能...
8086cpu的汇编语言程序,实现欢迎界面,计算平均值,和等功能-8086 assembly program
- 2022-01-24 17:01:21下载
- 积分:1
-
能显示文件盘符路径和文件的大小,创建时间,类似于dos里面dir的命令,并且可以扩展...
能显示文件盘符路径和文件的大小,创建时间,类似于dos里面dir的命令,并且可以扩展-can show that the document drive path and file size, creation time, similar to the dos inside the dir command, and can be extended
- 2022-02-05 12:23:53下载
- 积分:1
-
同样是对2812的学习,让大家更深一步的了解2812
同样是对2812的学习,让大家更深一步的了解2812-The same is the 2812 study, so that everyone deeper understanding of 2812
- 2022-07-08 08:50:36下载
- 积分:1
-
Symbol MC3000 Visual C barcode sweep procedure code sample 1
Symbol MC3000 Visual C 条码扫码范例程序之1-Symbol MC3000 Visual C barcode sweep procedure code sample 1
- 2023-05-24 22:45:03下载
- 积分:1
-
4:00 realize the functional modules of finite element procedures, a certain comm...
实现四点单元有限元功能的程序,具有一定通用性,对一般的板分析时比较精确.-4:00 realize the functional modules of finite element procedures, a certain commonality of general plate analysis more precise.
- 2022-06-20 19:53:59下载
- 积分:1