-
利用深度遍历的方法来检查8数码问题是否有解。
利用深度遍历的方法来检查8数码问题是否有解。-use depth traverse method to check whether the eight digital solutions to the problem.
- 2022-09-14 12:35:03下载
- 积分:1
-
开源的数据库管理系统 说明文档! gdbm 适用场合很多,且代码少,使用简单!...
开源的数据库管理系统 说明文档! gdbm 适用场合很多,且代码少,使用简单!-open-source database management system documentation! Gdbm apply many occasions, and less code, the use of simple!
- 2022-02-02 23:36:19下载
- 积分:1
-
统计上参观的游客数量可以记录到该网站的数量…
访客人数统计可以记录访问网站的人数,访客统计器通常放在网站首页,当有访问时候,就将数据库中人数字段自动加一。-Statistics on the number of visitors visit the site can record the number of visitors on the site statistics page normally, when there is access, the database will automatically add a number of fields.
- 2022-03-14 16:08:20下载
- 积分:1
-
与清华大学版的《数据结构》匹配二叉树的实现:BITREE1.CPP:为主程序,其中实现了递归算法以及非递归算法的前序遍历,中序遍历,后序遍历。TSTACK1.H...
与清华大学版的《数据结构》匹配二叉树的实现:BITREE1.CPP:为主程序,其中实现了递归算法以及非递归算法的前序遍历,中序遍历,后序遍历。TSTACK1.H: 为头文件,其中定义了一些常量的值,其中也包括了书中第三章的栈的实现,只需要将注解符去掉即可。运行环境为:VC++6 或 TC3-and Tsinghua University version of the "data structure" matching the achievement of a binary tree : BITREE1.CPP : mainly procedures, which achieved a recursive and non- recursive algorithm of algorithms preorder, preorder, after preorder. TSTACK1.H : for the first document, which defines a number of the value of a constant, which also include a third chapter of the book stack the realization simply have the website notes can be removed. Operating environment : VC 6 or TC3
- 2023-08-23 23:30:03下载
- 积分:1
-
初学者的源c代码,一共5个,主要是c基础,包括文件操作。
初学者的源c代码,一共5个,主要是c基础,包括文件操作。-c beginners source code, a total of five, mainly c base, including file operations.
- 2022-06-13 13:15:02下载
- 积分:1
-
数据结构与算法分析C++描述 期末评分的东东 自己写的,有用吧・...
数据结构与算法分析C++描述 期末评分的东东 自己写的,有用吧・-Analysis of data structures and algorithms described in C++ to write their own final score Dongdong, useful bar
- 2022-08-10 20:49:25下载
- 积分:1
-
利用克鲁斯卡尔算法求边集数组GE所示图的最小生成树
利用克鲁斯卡尔算法求边集数组GE所示图的最小生成树-Order to Kruskal algorithm using an array of GE edge set of minimum spanning tree as shown in Figure
- 2022-01-22 09:15:23下载
- 积分: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
-
shi.c
说明:本程序用于层序遍历二叉树.程序开始时先由用户先根序输入二叉树各结点值,对于空结点输入宏ENDTAG所对的值(暂定为整数0).
建立好二...
shi.c
说明:本程序用于层序遍历二叉树.程序开始时先由用户先根序输入二叉树各结点值,对于空结点输入宏ENDTAG所对的值(暂定为整数0).
建立好二叉树后即可自动进行遍历依次层序输出各结点的值.
----Author:zhg
2006.11.26
E-mail: wudazhg@163.com
仅供参考学习之用,所有权保留-shi.c : The procedures for the binary tree traversal sequence. procedures at the beginning of each user input first-sequence binary tree nodes value, for the importation of empty node by right-ENDTAG value (tentatively scheduled for integer 0). After a good binary tree can be automatically traversal sequence followed output of the node values.---- Author : zhg 2006.11.26 E-mail : wudazhg@163.com for reference purposes only learning, retention of title
- 2022-03-09 11:43:40下载
- 积分:1
-
一个实现对学生成绩输入,修改,排序的算法,我们的一个设计,和大家一起分享吧!...
一个实现对学生成绩输入,修改,排序的算法,我们的一个设计,和大家一起分享吧!-a pair of students achieving results import, modify, scheduling algorithms, we have a design, and share with everyone!
- 2022-01-23 10:53:15下载
- 积分:1