该程序是用C语言编写的,用于实现CRC编译码.
上传时间: 2013-12-20
上传用户:CHENKAI
一:需求分析 1. 问题描述 魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在这两种形式中,从左到右均表示解释.试写一个魔王语言的解释系统,把 他的话解释成人能听得懂的话. 2. 基本要求: 用下述两条具体规则和上述规则形式(2)实现.设大写字母表示魔王语言的词汇 小写字母表示人的语言的词汇 希腊字母表示可以用大写字母或小写字母代换的变量.魔王语言可含人的词汇. (1) B --> tAdA (2) A --> sae 3. 测试数据: B(ehnxgz)B 解释成 tsaedsaeezegexenehetsaedsae若将小写字母与汉字建立下表所示的对应关系,则魔王说的话是:"天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一只鹅地上一只鹅". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鹅 | 追 | 赶 | 下 | 蛋 | 恨 |
上传时间: 2014-12-02
上传用户:jkhjkh1982
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
提出了欧氏算法和IDFT相结合的RS码流式解码方案,并在FPGA芯片上予以实现。计算机仿真和实测表明,该方案在GF(28)的符号速率可达50MHz以上,最大延时为640ns,满足了高速宽带无线接入网中抗干扰编译码的需求。
上传时间: 2013-12-08
上传用户:yulg
对符号进行huffman编码和解码的程序,GUI界面,很好的学习压缩及解压缩技术。哈夫曼编/译码器V2.0
上传时间: 2014-01-23
上传用户:ljmwh2000
利用哈夫曼编码进行信息通信可以大大提高信道利用率,缩短信息传输时间,降低传输成本。但是,这要求在发送端通过一个编码系统对待传数据预先编码,在接收端将传来的数据进行译码(复原)。对于双工信道(即可以双向传输信息的信道),每端都需要一个完整的编/译码系统。试为这样的信息收发站写一个哈夫曼编/译码系统。 [基本要求]: (1)I:初始化(Initialization)。从终端输入一个长度不超过80的字符串(全部为大写字母且无空格)。统计字符串的长度n、以及不同字符的个数和每种字符的权值,然后建立哈夫曼树。 (2)E:编码(Encoding)。利用已建好的哈夫曼树对正文字符串进行编码,并输出。 (3)D:译码(Decoding)。利用已建好的哈夫曼树与已经完成的编码进行译码,并输出。
上传时间: 2016-03-15
上传用户:sclyutian
WCDMA系统的CRC编码和解码程序,能使实现不同生成多项式的CRC编译码。
上传时间: 2013-12-24
上传用户:netwolf
GSM信道编码设计,详细地实现了各个编译码模块的设计以及性能仿真,最后全信道测试则将各个模块连接起来,进行性能的仿真以及绘制误码率图。
上传时间: 2016-04-19
上传用户:zhangjinzj
VHDL程序集锦,很多有用程序,英文版其中有汉明码编译码,优先译码等等。
上传时间: 2014-01-16
上传用户:xinyuzhiqiwuwu
一本讲宽带无线系统的空时编码技术的电子书,详细介绍了空时编码的编译码算法,以及其在OFDM等系统中的应用。
上传时间: 2013-12-22
上传用户:hewenzhi