赫夫曼编码与译码 本程序完全采用链式存储结构,用户在输入字符流后(无字符限制,无长度限制)(以EOF结束,即crtl+z),即可自动统计出现的字符,建立赫夫曼树,输出各字符的赫夫曼编码,翻译用户输入的字符流输出到文件中(output.txt),最后进行译码,输出字符流。 可供学习《数据结构》(清华大学出版社)(P146赫夫曼编码)、《数据结构课程设计》(机械工业出版社)(P87赫夫曼编码的应用)时参考,本程序不同于书中的顺序存储结构,效率更高
上传时间: 2016-06-03
上传用户:mhp0114
不用说的好,我们室主任开发的Photonics cyrestal band gap计算Fortran代码。注意不要忘了input文本。
标签:
上传时间: 2014-01-23
上传用户:jcljkh
% DYNMODES calculates ocean dynamic vertical modes % taking a column vector of Brunt-Vaisala values (Nsq) at % different pressures (p) and calculating some number of % dynamic modes (nmodes). % Note: The input pressures need not be uniformly spaced, % and the deepest pressure is assumed to be the bottom.
标签: Brunt-Vaisala calculates DYNMODES vertical
上传时间: 2013-12-06
上传用户:busterman
The CoinUtils project is a collection of open-source utilities developed and used by a variety of other projects in the COIN-OR repository. The project includes classes for storing and manipulating sparse matrices and vectors, performing matrix factorization, parsing input files in standard formats, building representations of mathematical programs, comparing floating point numbers with a tolerance, performing simple presolve operations, and warm starting algorithms for mathematical programs, among others.
标签: open-source collection CoinUtils developed
上传时间: 2013-12-19
上传用户:xmsmh
输入的第一行是一个正整数N(1<=N<=40),表示TheBeet买了N个山东煎饼,已知每个山东煎饼价格为2.5元。 接下来有6个非负整数,范围在[0, 1000]之内,分别表示摊主所拥有的50元、10元、5元、1元、5角、1角纸币的数量。 Output 输出一个整数,表示TheBeet最后收到的纸币数。如果无法满足要求,那就输出-1。
上传时间: 2016-06-26
上传用户:米卡
fft源代码,#include "f2407_c.h" #include "math.h" #define N 32 // FFT变换的点数 extern void fft(void); extern void resave(void); interrupt void phantom(void); void sysinit(void); extern int input[2*N];
上传时间: 2016-06-28
上传用户:LouieWu
Multirate filters provide a practical approach to designing and implementing finite response (FIR) filters with narrow spectral constraints. By changing the input data rate at one or more intermediate points the filter lengths and computational rates can be greatly reduced when compared to a standard single-rate filter implementation.
标签: implementing Multirate designing practical
上传时间: 2016-07-01
上传用户:dengzb84
This code is described in "Computational Geometry in C" (Second Edition), Chapter 8. It is not written to be comprehensible without the explanation in that book. Prints out one arm configuration to reach given target. Assumes number of links >= 3. Input: nlinks Number of links L1 L2 ... Ln Link lengths x0 y0 target0 x1 x2 target1
标签: Computational described Geometry Chapter
上传时间: 2014-01-25
上传用户:yan2267246
用AVR单片机设计的MP3播放器 功能: MP3 Player IDE ATA interface FAT 32 with long file name support USB interface On board power supply (input from 7v to 20v DC) Bootloader firmware upgradeable via USB port Infrared bi-directional interface Remote Control Back light graphic LCD worked with only 2x AA batteries In sleep mode sink less than 1uA (2.5mA in active mode) 5 buttons for easy navigation Long range (more than 20 feets)
标签: MP3 interface support Player
上传时间: 2016-07-02
上传用户:fandeshun
Network Tools In this exercise, you will make use of common network tools. For each part below, capture the appropriate program output and include it with your answers to the questions.
标签: exercise Network network common
上传时间: 2013-12-11
上传用户:ywqaxiwang