南邮_数据结构上机实验
s89QL
这个作者很懒,什么都没留下…
展开
-
线性表的基本运算及多项式的算术运算
线性表的基本运算: template voidSeqList::Reverse(){ T* t= new T[maxLength]; int j=0; for (int i = 0; i { t[i] = elements[i]; } for (int a = n; a>=0; a--) { elements[j++] = t原创 2015-10-10 20:56:55 · 3472 阅读 · 0 评论 -
南邮数据结构试验---各种内排序算法实现及比较
#include<iostream> using namespace std; #include<time.h> #include<algorithm> #include<stdlib.h> #include <cstdio> #include <cstring> #define random(x) (rand()%x) #define NUM 40000 clock_t start,stop; d原创 2015-12-27 14:39:43 · 2929 阅读 · 0 评论