-
VC select number
vc实现的只能选数问题,优于贪婪选择算法-VC select number
- 2023-04-06 04:05:04下载
- 积分:1
-
Description:
采用邻接表表示有向图,完成图的创建、图的深度优先遍历、图的广度优先遍历操作。其中图的顶点信息是字符型,图中顶点序号按字符顺序排列,...
Description:
采用邻接表表示有向图,完成图的创建、图的深度优先遍历、图的广度优先遍历操作。其中图的顶点信息是字符型,图中顶点序号按字符顺序排列,边的输入按照边的顶点序号从小到大的顺序排列,如下图的边的输入顺序为0 1,0 2,0 3,1 2,1 3,2 4,3 4共七条边,邻接表的边结点采用头插法。本输入样例中所用的图如下所示:
Input Format:
第一行输入两个值,第一个是图中顶点的个数,第二个是图中边的条数
第二行输入各顶点的信息,即输入每个顶点字符
第三行开始输入每条边,每条边的形式为两个顶点的序号,中间以空格隔开,输入完一条边换行
Output format:
首先输出图的顶点信息,输出完毕换行
接着输出图的邻接表,格式为首先输出第一个顶点,接着输出该顶点的所有的临界点的序号,换行,然后输出下一个顶点及邻接点,以此类推
接下来一行输出从图的第一个顶点开始进行深度优先遍历的序列,中间以空格隔开,输出完毕换行
最后一行输出从图的第一个顶点开始进行广度优先遍历的序列,中间以空格隔开,输出完毕换行
-Description:
Adjacency list using said directed graph to complete the map creation, map of the depth-first traversal, breadth-first graph traversal operations. In which vertex information is character, the graph vertices in order arranged by character number, while the input side of the vertex according to serial number from small to large order, the following graph of the input side of the order of 0 1,0 2,0 3,1 2,1 3,2 4,3 4 a total of seven edge, the edge-node adjacency list using the first interp
- 2022-01-28 23:09:39下载
- 积分:1
-
把C写的源程序转换为Delphi源程序
把C写的源程序转换为Delphi源程序-C was converted to the source Delphi source
- 2023-01-28 10:40:04下载
- 积分:1
-
Base64 Content-Transfer-Encoding standard
这个小实用程序实现RFC1113中描述的Base64内容传输编码标准(http://www.faqs.org/rfcs/rfc113.html).
- 2023-05-21 23:10:03下载
- 积分:1
-
for data entry dialog box input data used for data entry in the dialog box
用于输入数据的对话框用于输入数据用于输入数据的对话框的对话框-for data entry dialog box input data used for data entry in the dialog box
- 2023-01-08 22:15:03下载
- 积分:1
-
CUDA FFT,实现OcenFFT参考代码
代码用于实现OcenFFT,GPU实现FFT的过程,相比CPU的C语言速度至少提升一个数量级,可实现二位的FFT,得到实时动态的二维海面
- 2022-02-25 10:06:42下载
- 积分:1
-
鱼游戏 大鱼吃小鱼
这是鱼的游戏。有一条鱼可以向上,向下,下,左,右ihere是鱼的分数,吃了鱼的那条鱼。
- 2022-07-23 01:29:17下载
- 积分:1
-
Windows下的高精度计时和高频事件的产生 在开发 Windows 下的应用程序时,经常需要用的计时,尤其在一些对时间要求比较高的程序中,计时的精确性是很重要...
Windows下的高精度计时和高频事件的产生 在开发 Windows 下的应用程序时,经常需要用的计时,尤其在一些对时间要求比较高的程序中,计时的精确性是很重要的,本文介绍了两种精确计时的方法,计时的精度可以达到ms级,而且可以认为它是精确的,可以在大多数情况下作为时间的基准。-under Windows precision timing and the selection of high-frequency events in the development of Windows applications, we often need to use the time, especially in some of the high demand on time the procedure, the accuracy of time is very important, this paper introduces two methods of precision timing, timing accuracy can be achieved ms level, but also that it is accurate, in most cases, as time benchmarks.
- 2022-02-16 10:03:00下载
- 积分:1
-
给自己用的实用日程提示工具,初学者可以看懂的东西,如果需要数据库请自己试着编写,不难...
给自己用的实用日程提示工具,初学者可以看懂的东西,如果需要数据库请自己试着编写,不难-to his own agenda suggest practical tools, beginners can understand things. If the database please try to prepare ourselves, it is not difficult
- 2022-08-13 20:15:51下载
- 积分:1
-
haptic主控臂的弹簧力效果测试,力的大小和两点之间的距离成正比。...
haptic主控臂的弹簧力效果测试,力的大小和两点之间的距离成正比。-haptic controlling arm of the spring test results, the size and strength between two points is proportional to the distance.
- 2022-02-21 07:37:03下载
- 积分:1