搜索资源列表
shishujuzhengsanyuanzushunxu
- 稀疏矩阵三元组顺序结构源码,可以作为头文件使用,方便那些初学数据结构的同学!-sparse matrix triple order of the source code structure can be used as the first document, facilitating data structure novice students!
PBFSandDFS
- 对与数据结构中有向图采用邻接矩阵为存储结构实现有向图建立、深度优先遍历和广度优先遍历、并带有图片测试数据 可运行-And the data structure of a directed graph with adjacency matrix storage structure established to achieve a directed graph, depth-first traversal and breadth-first traversal, and test data can
graphlinjiejuzhen
- 用C++的模板类实现了图的邻接矩阵数据结构,下载后添加头文件即可使用。-Adjacency matrix data structure use C++ template classes, and add header files to download.
Floyd
- 用弗洛伊德算法实现最短路径的求解,用到的抽象数据类型为邻接矩阵类型和有向图类型类型-Floyd algorithm to achieve the shortest path to solve abstract data types used in the adjacency matrix type and have the type of diagram types
proj2
- 电子系《数据与算法》第二次实验作业 十字链表法存储稀疏矩阵以及进行简单的矩阵运算-Department of Electronics data and algorithms second lab assignments Crusaders sparse matrix storage method and a simple matrix operations
编写用于表示有向图的数据结构
- 编写用于表示有向图的数据结构,以及不同表示方法之间相互转换的程序。 从文件读入一个有向图(带权,n 个结点,m 条边)的权矩阵表示,输出这个图的关联矩 阵、边列表、逆向表、邻接表表示。 程序除了能够实现要求的功能以外,代码中要有能体现出不同表示方法的数据结构。 -Writing means between the map data structure, and the different representations of the conversion process. Readi
2008
- 北航2008复试上机。 1.素数 输入一个整数,要求输出所有从1到这个整数之间个位为1的素数,如果没有则输出-1(30分) 2.旋转矩阵 任意输入两个9阶以下矩阵,要求判断第二个是否是第一个的旋转矩阵,如果是,输出旋转角度(0、90、180、270),如果不是,输出-1。 要求先输入矩阵阶数,然后输入两个矩阵,每行两个数之间可以用任意个空格分隔。行之间用回车分隔,两个矩阵间用任意的回车分隔。(60分) 3.字符串匹配 从string.in