-
Partner system: avail [0 .. m] can be used for table space, n for the distributi...
伙伴系统:avail[0..m]为可利用空间表, n为申请分配量, 若有不小于n的空闲块, 则分配相应的存储块, 并返回其首地址,否则返回NULL -Partner system: avail [0 .. m] can be used for table space, n for the distribution of the volume of applications, if n is not less than the free block, then the distribution of the corresponding storage block, and return to its first address, otherwise return NULL
- 2022-01-30 23:57:11下载
- 积分:1
-
用链表求300的阶乘,并且返回链表节点的个数.
用链表求300的阶乘,并且返回链表节点的个数.-used for the factorial 300, and returned to the linked list node number.
- 2022-03-17 21:47:18下载
- 积分:1
-
图论中典型的搜索算法――Dijkstra最小路径
图论中典型的搜索算法――Dijkstra最小路径-Graph Theory typical search algorithm- Dijkstra minimum path
- 2022-02-16 09:24:10下载
- 积分:1
-
假设一个文件中出现了8种符号S0,SQ,S2,S3,S4,S5,S6,S7,那么每种符号要编码,至少需要3bit。假设编码成000,001, 010,011,1...
假设一个文件中出现了8种符号S0,SQ,S2,S3,S4,S5,S6,S7,那么每种符号要编码,至少需要3bit。假设编码成000,001, 010,011,100,101,110,111。那么符号序列S0S1S7S0S1S6S2S2S3S4S5S0S0S1编码后变成 000001111000001110010010011100101000000001,共用了42bit。我们发现S0,S1,S2这3个符号出现的频率比较大,其它符号出现的频率比较小,我们采用这样的编码方案:S0到S7的码辽分别01,11,101,0000,0001,0010,0011, 100,那么上述符号序列变成011110001110011101101000000010010010111,共用了39bit。尽管有些码字如 S3,S4,S5,S6变长了(由3位变成4位),但使用频繁的几个码字如S0,S1变短了,所以实现了压缩。对于上述的编码可能导致解码出现非单值性:比如说,如果S0的码字为01,S2的码字为011,那么当序列中出现011时,你不知道是S0的码字后面跟了个1,还是完整的一个S2的码字。因此,编码必须保证较短的编码决不能是较长编码的前缀。符合这种要求的编码称之为前缀编码。要构造符合这样的二进制编码体系,可以通过二叉树来实现。-Suppose a file appears in eight kinds of symbols S0, SQ, S2, S3, S4, S5, S6, S7, then each symbol to be encoded, at least 3bit. Suppose encoding 000,001, 010,011,100,101,110,111. Then the symbolic sequence S0S1S7S0S1S6S2S2S3S4S5S0S0S1 encoded into 000001111000001110010010011100101000000001, sharing a 42bit. We found that S0, S1, S2 these three symbols the frequency of relatively large, the other symbols the frequency is relatively smal
- 2022-04-27 21:17:34下载
- 积分:1
-
python 文本压缩编码
描述 (英文): (提示: 至少 100 个字符。请尽你所能描述您的项目的详细信息。更好的内容将为您获得更多的分数)描述 (英文): (提示: 至少 100 个字符。请尽你所能描述您的项目的详细信息。更好的内容将为您获得更多的分数)描述 (英文): (提示: 至少 100 个字符。请尽你所能描述您的项目的详细信息。更好的内容将为您获得更多的分数)描述 (英文): (提示: 至少 100 个字符。请尽你所能描述您的项目的详细信息。更好的内容将为您获得更多的分数)
- 2022-12-21 15:25:04下载
- 积分:1
-
红黑树数据结构的c实现
红黑树数据结构的c实现-RED-BLACK TREE data structure to achieve the c
- 2022-03-30 07:44:02下载
- 积分:1
-
利用十字链表的储存结构完成距阵的加,减,乘.数据结构实习题目,已完成选做内容....
利用十字链表的储存结构完成距阵的加,减,乘.数据结构实习题目,已完成选做内容.-use the storage structure to complete the matrix, plus or minus, riding. Internship topic data structure, so as to complete the election.
- 2022-06-18 09:50:54下载
- 积分:1
-
vb用sql语句操作数据库
vb用sql语句操作数据库-vb used to operate the database sql statement
- 2022-04-27 17:53:14下载
- 积分:1
-
用VB写的和数据库联合编程的电子图档管理系统
用VB写的和数据库联合编程的电子图档管理系统 -VB write joint programming and database of electronic document management system
- 2022-08-15 19:00:20下载
- 积分:1
-
use of this procedure is jdbc
这个程序是使用jdbc-odbc访问access数据库的实例-use of this procedure is jdbc- odbc visit examples of database access
- 2022-07-17 17:39:17下载
- 积分:1