在《数据结构》的课程教学中,各抽象数据类型的设计与实现是重要的学习和实践环节。为此,本系统只给出了各算法源码的测试程序的可执行文件。在此,给出算法6.5的测试程序示例,以供参考。
标签: 数据结构
上传时间: 2013-12-08
上传用户:agent
Input The input contains blocks of 2 lines. The first line contains the number of sticks parts after cutting, there are at most 64 sticks. The second line contains the lengths of those parts separated by the space. The last line of the file contains zero. Output The output should contains the smallest possible length of original sticks, one per line. Sample Input 9 5 2 1 5 2 1 5 2 1 4 1 2 3 4 0 Sample Output 6 5
标签: contains The blocks number
上传时间: 2015-10-27
上传用户:lepoke
最小生成树问题 若要在n个城市之间建设通信网络,只需要架设n-1条线路即可。如何以最低的经济代价建设这个通信网,是一个网的最小生成树问题。 (1)利用克鲁斯卡尔算法求网的最小生成树。 (2)实现教科书6.5节中定义的抽象树类型 MFSet。以此表示构造生成树过程中的连通分量。 (3)以文本形式输出生成树中各条边以及他们的权值。
上传时间: 2015-11-10
上传用户:jhksyghr
NEMA标准出版PS3.1(199x) 医学数字影像和通讯(DICOM) 前言 iii 0 介绍 0.1历史 0.2 DICOM标准 0.3未来的方向 1 应用程序的范围和领域 2 规范的参考 3 定义 4 符号和缩写 5 DICOM标准的目的 6 DICOM标准的内容概述 6.1 文档结构 6.2 PART 2:遵从性 6.3 Part 3:信息对象定义 6.4 Part 4:服务类的规范 6.5 Part 5:数据结构和语义学 6.6 Part 6: 数据字典 6.7 Part 7:消息交换 6.8 Part 8:消息交换的网络通讯支持 6.9 Part 9:消息交换的点对点通讯支持 7 标准各部分的关系
上传时间: 2013-12-08
上传用户:yan2267246
最好的MATLAB书,即可以作入门教材,又可以做实用手册。买的话贵了一点,现在出了7.0版,但是还是这本6.5版经典。个人认为最先出的书是有真知灼见的作者写的,后来的都是抄别人的。
标签: MATLAB
上传时间: 2013-12-30
上传用户:liglechongchong
图论中最小生成树Kruskal算法 及画图程序 M-函数 格式 [Wt,Pp]=mintreek(n,W):n为图顶点数,W为图的带权邻接矩阵,不构成边的两顶点之间的权用inf表示。显示最小生成树的边及顶点, Wt为最小生成树的权,Pp(:,1:2)为最小生成树边的两顶点,Pp(:,3)为最小生成树的边权,Pp(:,4)为最小生成树边的序号 附图,红色连线为最小生成树的图 例如 n=6 w=inf*ones(6) w(1,[2,3,4])=[6,1,5] w(2,[3,5])=[5,3] w(3,[4,5,6])=[5,6,4] w(4,6)=2 w(5,6)=6 [a,b]=mintreek(n,w)
上传时间: 2015-11-30
上传用户:dreamboy36
SQL Server Security Distilled, Second Edition by Morris Lewis ISBN:1590592190 Apress © 2004 (352 pages) This book takes an in-depth look at what you can do to secure data in SQL Server, shows how to authenticate access to data on the server, and authorizes what users can and can t do with that data, in versions 6.5, 7.0, and 2000.
标签: 1590592190 Distilled Security Edition
上传时间: 2015-12-25
上传用户:hj_18
PSO算法的matlab实现,在6.5版本测试过,其他版本不保证能够马上用
上传时间: 2014-01-02
上传用户:stewart·
fcm算法的matlab实现,6.5以上版本可用
上传时间: 2016-03-20
上传用户:lnnn30
1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if A = 1 2 3 then B = 3 2 1 4 5 6 6 5 4 7 8 9 9 8 7 Write a main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A). 2) Write a program which accepts an input k from the keyboard, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its position in the fibonacci sequence. Here is a sample of input and output: Enter k>0: 100 144 is the smallest fibonacci number greater than or equal to 100. It is the 12th fibonacci number.
标签: dimensions arbitrary function reverse
上传时间: 2016-04-16
上传用户:waitingfy