-
此程序使用最小生成树Prim算法。用户输入图的输入文件名,程序读此文件,并调用MinSpanTree()为图建立最小生成树。输出包括树的总权及其顶点和边的列表。...
此程序使用最小生成树Prim算法。用户输入图的输入文件名,程序读此文件,并调用MinSpanTree()为图建立最小生成树。输出包括树的总权及其顶点和边的列表。-This procedure use the Prim algorithm. The
user input the filename of the chart, the procedure reads this document and transfers the chart to Minimum SpannirngTree with MinSpanTree () function. Output the table including tree s total power and its apex and side.
- 2022-01-22 16:52:26下载
- 积分:1
-
实现一个闹钟功能 在屏幕上显示一个时钟 用户输入时间后,设着闹钟时间 闹钟会发出特殊的响声提醒...
实现一个闹钟功能 在屏幕上显示一个时钟 用户输入时间后,设着闹钟时间 闹钟会发出特殊的响声提醒-To achieve an alarm clock
- 2022-05-13 14:26:12下载
- 积分:1
-
通过MFC框架编程,实现枚举当前系统中的所有进程!
通过MFC框架编程,实现枚举当前系统中的所有进程!-Through the MFC framework for programming, realize the current system of enumeration of all the process!
- 2022-02-06 06:08:02下载
- 积分:1
-
双人推箱子游戏源码
采用java swing编写,简单易学,适用于初学者。
- 2022-08-07 03:25:44下载
- 积分:1
-
make some music by system on chip
用keil软件编写的程序,用单片机实现简单的音乐,该程序实现欢乐颂第一句的音乐,可以改变其中的参数,来实现其它音乐-make some music by system on chip
- 2022-02-21 05:02:27下载
- 积分:1
-
fcm是模糊c均值聚类算法,确定聚类中心以后,通过循环迭代,确定最佳聚类中心...
fcm是模糊c均值聚类算法,确定聚类中心以后,通过循环迭代,确定最佳聚类中心-FCM is a fuzzy c means clustering algorithm to determine the cluster center, the adoption cycle of iteration, to determine the optimal cluster center
- 2022-03-05 16:46:10下载
- 积分:1
-
« 问题描述:
给定一个自然数n,由n开始可以依次产生半数集set(n)中的数如下。
(1) n∈set(n);
(2) 在n的左边加上一...
« 问题描述:
给定一个自然数n,由n开始可以依次产生半数集set(n)中的数如下。
(1) n∈set(n);
(2) 在n的左边加上一个自然数,但该自然数不能超过最近添加的数的一半;
(3) 按此规则进行处理,直到不能再添加自然数为止。
例如,set(6)={6,16,26,126,36,136}。半数集set(6)中有6 个元素。
注意半数集不是多重集。集合中已经有的元素不再添加到集合中。
« 编程任务:
对于给定的自然数n,编程计算半数集set(n)中的元素个数。
« 数据输入:
输入数据由文件名为input.txt的文本文件提供。
每个文件只有1 行,给出整数n。(0
- 2022-02-15 12:30:46下载
- 积分:1
-
扩频通信仿真,仿真平台,仿真…
扩频通信仿真,给出了仿真平台,通过仿真可以了解扩频通信原理-Spread spectrum communication simulation, the simulation platform, the simulation can understand the principle of spread spectrum communication
- 2023-03-16 13:35:04下载
- 积分:1
-
实现大数相加,大到几百位,随便你啦
不论整数还是DOUBLE的...
实现大数相加,大到几百位,随便你啦
不论整数还是DOUBLE的-The realization of large numbers add up to as large as several hundred, not you, whether you DOUBLE integer or the
- 2023-06-17 13:25:03下载
- 积分:1
-
vs2005_walkthroughs电子书
VS2005_Walkthroughs ebook
- 2022-04-15 08:10:19下载
- 积分:1