赫夫曼編碼與譯碼 本程序完全采用鏈式存儲結構,用戶在輸入字符流后(無字符限制,無長度限制)(以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