課程設計: 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
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
標簽: UIComponent application component written
上傳時間: 2013-12-09
上傳用戶:dapangxie
編寫一個模擬GPS的應用程序,首先向串口寫入如下信息 $GPRMC,082020,A4060.9870,S21720.3278,W,000.0.000.0,070707,005.6,W*62再從串口中讀出此信息,并對此信息進行解析,輸出經度,緯度,北京時間
上傳時間: 2017-04-30
上傳用戶:wmwai1314
//實驗板的AVR程序,驅動1602LCM(可顯示2行,每行16個字符)模塊顯示實驗練習。 //說明:RS高顯示/低指令輸入 RW高讀/低寫 EN高讀數據/下降沿寫數據 //具體電路可參照使用指南里的說明。每個字符為5×7或5×8的點陣,共16×2個字符。 //使用器件:ATMEGA8535,可更換。 使用默認的片內RC振蕩器,1MHz。 //接線定義:PD4,5,6 為RS,R/W,EA。數據位為PC口。 //使用的開關:SW2-1,2,3.SW1-1,2,3,4,5,6,7,8.SW2-5為背光開關。 SW3-8為系統復位端。
上傳時間: 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
標簽: formations zczytujace tekstowego Formacje
上傳時間: 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.
標簽: your Webmaster activate checking
上傳時間: 2014-01-12
上傳用戶:牧羊人8920
實現RLS的matlab程序,并繪出了w隨n變換的曲線
上傳時間: 2017-05-24
上傳用戶:tfyt
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
標簽: WALSH INTRODUCTION DERIVATIVES DEFINITION
上傳時間: 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
標簽: high-speed attempts computer equipped
上傳時間: 2017-06-11
上傳用戶:曹云鵬
//初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILURE) } //設置模式 cbreak() noecho() keypad(stdscr, TRUE) //建立窗口 win = newwin(h, w, 3, 20) box(win, 0, 0) keypad(win, TRUE) wmove(win, cury, curx) mvaddstr(16, 1, "Press arrow keys to move the cursor within the window.\n") mvaddstr(17, 1, "Press q to quit.\n") refresh() wrefresh(win)
標簽: EXIT_FAILURE initcurs initscr perror
上傳時間: 2013-12-20
上傳用戶:FreeSky