課程設(shè)計(jì): 1.求出在一個n×n的棋盤上,放置n個不能互相捕捉的國際象棋“皇后”的所有布局。 2.設(shè)計(jì)一個利用哈夫曼算法的編碼和譯碼系統(tǒng),重復(fù)地顯示并處理以下項(xiàng)目,直到選擇退出為止。 【基本要求】 1) 將權(quán)值數(shù)據(jù)存放在數(shù)據(jù)文件(文件名為data.txt,位于執(zhí)行程序的當(dāng)前目錄中) 2) 分別采用動態(tài)和靜態(tài)存儲結(jié)構(gòu) 3) 初始化:鍵盤輸入字符集大小n、n個字符和n個權(quán)值,建立哈夫曼樹; 4) 編碼:利用建好的哈夫曼樹生成哈夫曼編碼; 5) 輸出編碼; 6) 設(shè)字符集及頻度如下表: 字符 空格 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
標(biāo)簽:
上傳時(shí)間: 2017-04-24
上傳用戶:zhyiroy
This is a Flex UIComponent that can be used 謀n a FLEX 3 mxml application as component written in action script 3.0, provides you to create items that cab be filled from an XML or Query ResultSet or etc. and is viewed in a container that can preview images and additional info like a store item and can be added to shopp謀ng chart , and also can be deleted from that shopp謀ng chart
標(biāo)簽: UIComponent application component written
上傳時(shí)間: 2013-12-09
上傳用戶:dapangxie
編寫一個模擬GPS的應(yīng)用程序,首先向串口寫入如下信息 $GPRMC,082020,A4060.9870,S21720.3278,W,000.0.000.0,070707,005.6,W*62再從串口中讀出此信息,并對此信息進(jìn)行解析,輸出經(jīng)度,緯度,北京時(shí)間
標(biāo)簽: GPS 編寫 模擬 應(yīng)用程序
上傳時(shí)間: 2017-04-30
上傳用戶:wmwai1314
//實(shí)驗(yàn)板的AVR程序,驅(qū)動1602LCM(可顯示2行,每行16個字符)模塊顯示實(shí)驗(yàn)練習(xí)。 //說明:RS高顯示/低指令輸入 RW高讀/低寫 EN高讀數(shù)據(jù)/下降沿寫數(shù)據(jù) //具體電路可參照使用指南里的說明。每個字符為5×7或5×8的點(diǎn)陣,共16×2個字符。 //使用器件:ATMEGA8535,可更換。 使用默認(rèn)的片內(nèi)RC振蕩器,1MHz。 //接線定義:PD4,5,6 為RS,R/W,EA。數(shù)據(jù)位為PC口。 //使用的開關(guān):SW2-1,2,3.SW1-1,2,3,4,5,6,7,8.SW2-5為背光開關(guān)。 SW3-8為系統(tǒng)復(fù)位端。
標(biāo)簽: AVR 實(shí)驗(yàn)板 程序
上傳時(shí)間: 2014-12-01
上傳用戶:cmc_68289287
formations dla robo zczytujace formacje z pliku tekstowego o tej samej nazwie co zrodlowy. Formacje zapisane sa w formie wspolrzednych poszczegolnych zawodnikow
標(biāo)簽: formations zczytujace tekstowego Formacje
上傳時(shí)間: 2017-05-06
上傳用戶:zl5712176
java program Webmaster will activate your member account after checking your files. If you do not want to upload source code, you can join the [VIP member] to activate your account.
標(biāo)簽: your Webmaster activate checking
上傳時(shí)間: 2014-01-12
上傳用戶:牧羊人8920
實(shí)現(xiàn)RLS的matlab程序,并繪出了w隨n變換的曲線
上傳時(shí)間: 2017-05-24
上傳用戶:tfyt
ASP.NET_程式設(shè)計(jì)基礎(chǔ)篇,是依vb.net為後臺開發(fā)語言,從平臺的介紹,語言,控制項(xiàng)使用,database的連線都有基礎(chǔ)的講解。 程式設(shè)計(jì)基礎(chǔ)篇
上傳時(shí)間: 2017-05-26
上傳用戶:源碼3
WALSH CODES AND THEIR DERIVATIVES - INTRODUCTION - WALSH FUNCTIONS DEFINITION AND PROPERTIES - WALSH FUNCTION GENERATING - WALSH FUNCTIONS USED WITHIN THE IS-95 SYSTEM - WALSH FUNCTIONS USED WITHIN THE CDMA2000 SYSTEM
標(biāo)簽: WALSH INTRODUCTION DERIVATIVES DEFINITION
上傳時(shí)間: 2017-06-05
上傳用戶:天誠24
This project attempts to stream high-speed ADC (or other digital) samples into a computer equipped with USB 2.0 CY3681FX2 AD9245
標(biāo)簽: high-speed attempts computer equipped
上傳時(shí)間: 2017-06-11
上傳用戶:曹云鵬
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1