課程設計: 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