课程设计: 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
摘要:电压监测仪的校验工作量大、 效率和精度低, 为保证电压监测仪性能指标, 研制了一种对单相电压监测统计仪进行精度、 灵敏度、 谐波、 时间试验的校验装置。装置以高速单片机为核心, 利用丰富的P C机资源、 融合F P G A 技术、 点阵图形液晶等技术, 实现监测仪误差校验过程的自动控制、微机数据管理、 程控操作、 故障保护。实验结果表明装置综合误差为0 . 1 级, 输出电压失真度小于0 . 5 , 系 统运行准确、 数据传输可靠、 操作方便及功能完善。
上传时间: 2014-07-05
上传用户:stella2015
A simple object to store a color and perform Hex/RGB conversions. methods included ColorSetRGB - ColorGetHex RGBToHex(r, g, b) hexToRGB(hex) ColorBlend(colorFrom, colorTo) ColorBlendGetColor(alpha) ColorBlendToString()
标签: ColorSetRGB conversions included methods
上传时间: 2017-04-29
上传用户:chenxichenyue
Open-source, free, multi-platform BASIC compiler, with syntax similar MS-QuickBASIC (including the GFX statements), that adds new features such as pointers, unsigned data types, inline assembly, a pre-processor and many others.
标签: multi-platform MS-QuickBASIC Open-source including
上传时间: 2017-05-06
上传用户:cursor
Learn to model various modern communication systems with this book from one of the world s leading authors in communications, John G. Proakis. A very helpful reference to MATLAB users of various levels
标签: communication leading systems various
上传时间: 2017-05-07
上传用户:jing911003
Tiny Planet is small device connected to a GSM cell phone. When the mobile receives a predefined SMS (text message), like "Activate burglar alarm" or "Start backup pump", the circuit automatically recognizes it as a command, and switches the output port accordingly. Besides switching the port on or off, the user can pulse it for a short period (e.g. 鈥淩eboot remote server鈥?.
标签: predefined connected receives Planet
上传时间: 2017-05-17
上传用户:fanboynet
arm ads1.2入门教程,学习配置MTK环境,学习gcc,g++指令,你会发现编程很轻松。
上传时间: 2017-05-22
上传用户:yxgi5
Arduino雙軸加速度計取值,包含 X、Y 軸的 G 值以及 X、Y 軸的傾斜角度
上传时间: 2017-05-23
上传用户:moerwang
声明两个接口,Show和Print,以完成通过接口实现多重继承。 构造class userInformation类作为extends的父类,其中定义f方法、g方法和showOut方法,分别实现方法的继承,重载,重写。 构造类telephoneCardUser,通过该类extends userInformation 以及implements Show,Print两个接口来实现本次实验的目的。
标签: 接口
上传时间: 2017-05-23
上传用户:牛津鞋
s Comandantes Dracos planejam grande investida à partir de julho. Usarã o PacatosHumanosZumbis contra infiltrados.É preciso máxima sintonia na [REDE] para scannear triangulaç ã o deles na regiã o. O Governo mundial se refere ao Bloco Bilderberg. Entrou em plena operaç ã o quando Rússia aderiu ao G-8 O Bloco Bilderberg, sem querer, está fazendo um trabalho até necessário de resguardar dos cataclismos parte da tecnologia atual
标签: PacatosHumanosZumbis Comandantes investida planejam
上传时间: 2013-12-24
上传用户:com1com2