资源列表
合并两个升序排列的链表
- 合并两个升序排列的链表,主要是数据结构中链表的排序问题-Merge two linked list in ascending order, mainly linked list data structure in the scheduling problem
saher 顺序表逆置
- 习题 顺序表逆置:1. 设有一个线性表E={e1, e2, … , en-1, en},设计一个算法,将线性表逆置,即使元素排列次序颠倒过来,成为逆线性表E’={ en , en-1 , … , e2 , e1 }--Problem reverse the order of the table is set: 1. There is a linear form E = {e1, e2, ..., en-1, en}, design an algorithm to linear inverse s
求任意n个数的平均值的程序
- 这是本人写的求任意n个数的平均值的程序,编程环境是Viasual C++ 6.0,可以直接运行,This is, I write for arbitrary n the average number of procedures, programming environment is Viasual C++ 6.0, can be directly run
利用四阶龙格-库塔公式计算常微分初值问题的数值解
- 利用四阶龙格-库塔公式计算常微分初值问题的数值解,The use of fourth-order Runge- Kutta ordinary differential formula of the numerical solution of initial value problem
dinic的网络最大流算法模板
- dinic的网络最大流算法模板,非常实用,经过自己多次测试通过的!Q,Dinic network maximum flow algorithm templates, very useful, after their own, adopted a series of trial runs! Q
学习c语言数据结构的有用库
- 学习c语言数据结构的有用库!!!帮助你提高C语言功力和代码效率,C language data structure to learn,a useful database! ! !
高斯-赛德尔迭代法解线性方程组的C++程序
- 这是高斯-赛德尔迭代法解线性方程组的C++程序,适合程序设计初学者和大学生课程设计-This is the Gauss- Seidel iterative method for solving linear equations of the C++ program, designed for beginners and students of the program curriculum design
Datastruct_C 实现顺序表的就地逆置
- Descr iption 试写一算法,实现顺序表的就地逆置,即利用原表的存储空间将线性表(a1,a2,…..an),逆置为( an,an-1, …….a2,a1)。 Input 输入长度n 接下来是n个数 Output 操作后的序列。 Sample Input 7 2 4 1 7 5 3 6 Sample Output 6 3 5 7 1 4
exp2_4 建立一个复数类imaginary
- 建立一个复数类imaginary,其私有数据成员x和y表示复数的实部和虚部,构造函数imaginary用于对复数的实部和虚部初始化,友员函数add,sub,mul和div分别用于进行复数的加、减、乘和除法运算,静态函数show用于显示运算结果。在主函数中,实例化两个复数,并输入一个运算符,按运算符选择相应的友员函数进行复数运算,然后输出运算结果。 -The establishment of a complex class imaginary, its private data member
编程实现生产者消费者或读写者的同步问题
- 编程实现生产者消费者或读写者的同步问题 编程实现生产者消费者或读写者的同步问题,目标掌握信号量实现进程同步及其应用-Programming producers or consumers who read and write the synchronization programming producers, consumers or those who read and write synchronization problem, the target volume to achieve
PolynomialNet 用数据结构实现两个多项式相加
- 用数据结构实现两个多项式相加,相减,相乘,其中还用到检验多项式是否正确-Data structure with two polynomial addition, subtraction, multiplication, which also used the correct test polynomial
linear-list 线性表从顺序表中才查找与给定的元素值相同的元素在表中的位置
- 构造一个空的线性表从顺序表中才查找与给定的元素值相同的元素在表中的位置-Linear form constructed from an empty table in order to find only elements with the same value for a given element position in the table