课程设计: 1.求出在一个n×n的棋盘上,放置n个不能互相捕捉的国际象棋“皇后”的所有布局。 2.设计一个利用哈夫曼算法的编码和译码系统,重复地显示并处理以下项目,直到选择退出为止。 【基本要求】 1) 将权值数据存放在数据文件(文件名为data.txt,位于执行程序的当前目录中) 2) 分别采用动态和静态存储结构 3) 初始化:键盘输入字符集大小n、n个字符和n个权值,建立哈夫曼树; 4) 编码:利用建好的哈夫曼树生成哈夫曼编码; 5) 输出编码; 6) 设字符集及频度如下表: 字符 空格 A B C D E F G H I J K L M 频度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 字符 N O P Q R S T U V W X Y Z 频度 57 63 15 1 48 51 80 23 8 18 1 16 1
标签:
上传时间: 2017-04-24
上传用户:zhyiroy
Embedded Linux Primer: A Practical, Real-World Approach presents a step-by-step walkthrough of porting Linux to custom boards and introduces real-time configuration via CONFIG_RT--one of today s most exciting developments in embedded Linux. You ll find especially detailed coverage of using development tools to analyze and debug embedded systems--including the art of kernel debugging.
标签: step-by-step walkthrough Real-World Practical
上传时间: 2014-01-19
上传用户:wys0120
电子选择器,是利用TND-MD教学系统实现的,用来作为特定场合投票机器统计使用。所用到的芯片主要有8253定时计数器、8255A并行接口电路芯片等。使用时,用户用键盘输入A,B,C,D这四个字母中的一个来作为已经选择的项目,程序将在屏幕上对应显示已经选择的“A,B,C或者D”,并且通过控制扬声器,发出对应的频率声音信号,同时相对应的LED灯也对应发光,以便于位于远处的计票员进行远程计票。
上传时间: 2014-10-14
上传用户:cc1015285075
这个是用系统时间产生随机数应用的一个小程序,用到了J2ME底层绘图机制。功能:在你输入4个选项后,系统自动筛选出一个结果。就像考试时a,b,c,d四个选项瞎蒙出来一个……
上传时间: 2013-12-31
上传用户:yzhl1988
找一个最小的自然数,使它等于不同的两组三个自然数的三次幂之和,即找最小的x,使得:x=a*a*a+b*b*b+c*c*c = d*d*d+e*e*e+f*f*f 其中,a,b,c,d,e,f都是自然数,a<=b<=c, d<=e<=f [a,b,c]!=[d,e,f] 进一步,是否还存在另外一个自然数满足上述条件,可能的话请输出其结果
标签:
上传时间: 2017-05-16
上传用户:vodssv
This popular tutorial introduction to standard C++ has been completely updated, reorganized, and rewritten to help programmers learn the language faster and use it in a more modern, effective way.Just as C++ has evolved since the last edition, so has the authors approach to teaching it.
标签: introduction reorganized completely tutorial
上传时间: 2013-12-05
上传用户:jhksyghr
工业领域串口通信速度慢是个比较突出的问题, 而 F T 2 4 5 B M 能够进行 US B和并行 I / O口之间的 协议转换, 在一些条件下能够取代串口. 介绍 F T 2 4 5 B M 芯片的工作原理和功能, 并给出基于 F T2 4 5 B M 的 US B接口电路的应用设计和基于 8 9 c 5 2的汇编及 c 5 1 单片机源程序.
上传时间: 2017-05-27
上传用户:kytqcool
If you have ever wanted to store data temporarily in your Delphi Win32/.Net, C++ Builder or Kylix application, and you at the same time wanted full access to the data as if they were stored in a database table, you have the right solution here. kbmMemTable is a full TDataset compatible in memory table loaded with functionality.
标签: temporarily Builder Delphi wanted
上传时间: 2017-05-29
上传用户:ljt101007
TMS2407开发平台键盘LED试验,键盘输入0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f,LED输出0,1,2,3,4,5,6,7,8,9,-,E,H,L,NULL
上传时间: 2017-05-30
上传用户:541657925
Exceptional C++ shows by example how to go about solid software engineering. Along with a lot of other material, this book includes expanded versions of the first 30 issues of the popular Internet C++ feature Guru of the Week (or, in its short form, GotW), a series of self-contained C++ engineering problems and solutions that illustrate specific design and coding techniques.
标签: Exceptional engineering software example
上传时间: 2017-06-07
上传用户:yt1993410