搜索资源列表
ewszpx
- 输入30个数到一个5行6列数组,经排序后该数组各元素值按行从小到大排列,并显示该二维数组。 要求:直接在该数组中排序,不得转存于一个一维数组。 -input to a 30 Number 6 line arrays, sorting through the array element values of the firms from small to large order, and that the two-dimensional array. Requirements : direc
05605-19-
- 构造哈夫曼树 哈弗曼树中没有度为一的节点,是标准的二叉树,所以有n个叶子结点时,需要一个长度为2n-1的一维数组存储哈弗曼树的结点。 (1)、n个叶子节点只有weight权值,处理非叶子节点,从ht[i](ht[1]~ht[n-1])中找到ht[i].weight最小的两个节点ht[s1]和ht[s2],这就是Select(int n,int &s1,int & s2,HTNode *ht)函数完成的功能。 (2)、调用select函数,并将ht[s1]和ht[s2]作为ht[l]的
shuzu1
- 数组的处理程序 有对一维数组的详细解释,很好用-Detailed explanation of the one-dimensional array, array handler with good
MdlFuctions
- 这个类模块集合了各种常用的功能,可直接调用,如插值,一维数组最大最小值平均值,冒泡算法,一元线性回归等(This class of modules sets a variety of common functions, which can be called directly, such as interpolation, maximum and minimum mean value of one dimension array, bubble algorithm, linear regress