资源列表
[PlugIns编程] Literature-research-assistants
说明:文学研究助手: 利用文件方面的知识引入一待处理的文件,设置数组用来存储所指定的单词的频率和位置。开始处理文件时,先指定单词(不唯一),遇到指定单词频率标志 +1,记录已出现’\n’的次数来确定词的位置。-Literature research assistants: the use of knowledge to introduce a file to be processed files, settings specified array used to store the frequ<ck> 在 2025-07-15 上传 | 大小:1kb | 下载:0
[P2P编程] Find-height-of-the-tree
说明:求树的高度: 先利用递归算法依次比较每一层树的左右子树是否为空,通过层层比较,得出树高,再通过树高用遍历得出路径。-Find height of the tree: the first use of a recursive algorithm sequentially comparing each sub-tree layer around the tree is empty, through the layers of comparison, the tree height, tree h<ck> 在 2025-07-15 上传 | 大小:1kb | 下载:0
[网络截获/分析] Matrix-addition
说明:矩阵相加(三元组): 先建立稀疏矩阵的三元组存储结构。输入第一个矩阵的行数和列数和非零元素个数,并输入非零元所在位置和大小。输入第二个矩阵的非零元素个数并输入非零元所在位置和大小。然后处理这两个矩阵:若矩阵1中非零元素的行列值等于矩阵2中非零元素的行列值,只需将两非零元素相加;若矩阵1中非零元素的行列值不等于矩阵2中非零元素的行列值,分别记录其所在位置和大小。-Matrix addition (triples): First create a sparse matrix storage<ck> 在 2025-07-15 上传 | 大小:1kb | 下载:0