资源列表
main
- 找n个数中最大的k个数 平均时间复杂度O(N*log2 K)-Find the largest number of k n the number of average time complexity O (N* log2 K)
coding
- 一些基础的C++操作,适用于刚开始学习C++的学生,大部分是老师布置的习题,其中包括数据结构的前4道题目,和一个自己编写的日期类-Some basic C++ operator, for beginning students to learn C++, most of the teachers arranged exercises, including the first four data structures topics, and a date written in their own c
Dijkstra
- 1. 初使时令 S={V0},T={其余顶点},T中顶点对应的距离值 若存在<V0,Vi>,d(V0,Vi)为<V0,Vi>弧上的权值 若不存在<V0,Vi>,d(V0,Vi)为∝ 2. 从T中选取一个其距离值为最小的顶点W且不在S中,加入S 3. 对T中顶点的距离值进行修改:若加进W作中间顶点,从V0到Vi的 距离值比不加W的路径要短,则修改此距离值 重复上述步骤2、3,直到S中包含所有顶点,即S=T为止-1 beginning of
CarStationDemo
- 学习数据结构最好的例子,里面综合了队列,栈,链表等内容。学习数据结构的可以下载下来好好看一下。-Learn the best example of data structure, which combines the queues, stacks, linked lists and so on.
mymath
- C语言,三角函数,平方根快速算法。运算速度很快,可以用来替换部分标准库 math.h 内的函数-C, trigonometric functions, square root of the fast algorithm. Fast operation, can be used to replace part of the standard library math.h functions within the
program
- 链表 删除的C 数据结构 严蔚敏的书,清华出版-Delete L删除等线性表元素,数据结构书中代码
zhengshuzhuanzifu
- 将输入的整数转换成字符串的C语言编程程序-The input string into an integer programming in C language program
zifutongji
- 一个用于统计输入字符串各种字符个数的C语言程序-A string of characters used for statistical input number of the C language program
jisuan
- (1) 编一个程序,分别按n递增和递减的顺序计算序列{1/n^2}的前10000项之和-(1) compile a program, respectively, by n the order of calculation of ascending and descending sequence {1/n ^ 2} and the first 10,000 of the
a_star
- a_star算法,A*(A-Star)算法是一种静态路网中求解最短路最有效算法。本工程实现了简单了a_star算法,并在vc6.0下直接编译通过。-a_star algorithm, A* (A-Star) algorithm is a static network in the most efficient algorithm for solving the shortest path. The project achieved a simple a_star algorithm, and i
5.4
- 教学计划编制问题 (1)实验内容和实验目的: 1.大学的每个专业都要编制教学计划。假设任何专业都有固定的学习年限,每学年含两学期,每学期的时间长度和学分上限都相等。每个专业开设的课程都是确定的,而且课程的开设时间的安排必须满足先修关系。每个课程的先修关系都是确定的,可以有任意多门,也可以没有。每一门课程恰好一个学期。试在这样的情况下设置一个教学计划编制程序。 2.在大学的某个专业中选取几个课程作为顶点,通过各门课的先修关系来构建个图,该图用邻接表来存储,邻接表的头结点存储每门课
a-b
- 大整数的减法,运用了补码的思想实现,而不是简单的进位-Large integer subtraction,by the thought of complement code
