资源列表
Text1
- 一个统计学生成绩的程序,要求输入10个学生5门功课的成绩,分别用子函数求出:(1)每个学生的平均分;(2)每门功课的平均分;(3)找出最高分所对应的学生和功课-A statistical procedure for student achievement, asked to enter the 10 students five homework results were obtained with Functions: (1) The average score for each student
RedBlackTree
- 红黑树、二叉搜索树的实现和性能比较。因为实验要求指定了输入哪些数据,所以在实现时我用了一个数组将所有的数据保存到内存里,然后直接调用插入和删除操作,这样就不再需要用户输入数据,省去了输入数据的麻烦。删除操作也是在程序里直接调用的,不要用户输入。-red black tree
sorts
- 合并排序 插入排序 希尔排序 快速排序 冒泡排序 桶排序 的比较。随机产生空间大小为: N = 10, 1000,10000,100000 的排序样本,取值为[0,1]区间。除了插入排序和冒泡排序,其他四个还随机产生空间大小为:1000000、10000000的排序样本。 -sorts
BinaryTree
- 数据结构中二叉树的实现以及先序,中序,后序的遍历,并且有计算叶子结点,深度等等附加功能-Data Structure:Binary Tree,achieve some functions like:preorder,inorder,postorder,depth calculation,node calculation and so on.
perm1
- 此程序完成对给出的数组使用递归法进行全排序。-To complete this process using the recursive method given wide array sort.
SortProblems
- 数据结构:实现各种排序的功能,包括快速排序,希尔排序,堆排序-Data Structure:Solve some sort problem, include insert sort,merge sort,quick sort,heap sort,and so on.
ex4
- 上传的这个程序使用递归算法实现数组的合并排序。-From this process a recursive algorithm using an array of merge sort.
binary_tree
- 本程序详细地介绍了二叉树数据结构在c++程序中的实现。-The procedure described in detail the binary tree data structure in c++ program implementation.
chessboard
- 新编写人机交互性棋盘算法 ChessBoard.cpp ChessBoard.h ChessBoardDoc.cpp MainFrm.cpp MyChessBoard.cpp ChessBoardChessBoardiew.dsw-ChessBoard
HuffmanNode
- 哈夫曼编码将文档利用哈夫曼编码数据压缩 huff.h huffcode.txt huffmannode.cpp huffmanNode.plg sourcefile.txt TextFile.txt-Huffman coding the document data compression using Huffman coding
maze
- 该程序解决的是迷宫问题。给定一个n(n<20)行m(m<20)列的迷宫,迷宫每个位置用整数1和0表示,0表示墙,1表示通道,给出迷宫起点(x0,y0)和终点(x1,y1),求出起点到终点的最短路径。-The procedure to solve the maze problem. Given an n (n < 20) row m (m < 20) out of the maze, the maze of each position with the integer 1 an
ssd5ex2
- ssd5 examen 2 practico
