一:需求分析 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
Swing Windows XP 外观和感觉 BeanSoft 修改版, 2003年 原始的作者: XP 外观和感觉 by Stefan Krause - http://www.stefan-krause.com/java/ 做了以下修改: 1. 显示内部窗体时使用了正确的字体(原版在中文 Windows 版本下运行时不能正确显示 Unicode 字符) 2. 现在这个软件可以运行在 Linux 下了, 而不是只能运行在 Windows XP 下, 也能运行 在 Windows 2000, Windows 98 下. 我已经在 Windows 2000, Windows 98 和 红帽子 Linux 9 的中英文版下测试过了. 请注意这个软件是在 JDK 1.3 上开发的, 所以一些 JDK 1.4 或者更高版本的组件可能 无法正确显示, 例如 JSlider.
标签: BeanSoft Windows Stefan Krause
上传时间: 2015-11-14
上传用户:caixiaoxu26
大家好,我是易北! 首先感谢大家的支持! 忙了3天,终于将这块24064的液晶调好了 此液晶是用t6963 控制的 我用c8051f020来控制这块液晶 采用的是间接控制 其中CE引脚要直接接地 否则会出现乱跳 (应该是我的时序问题) 此程序主要是简单的显示一些字符和汉字 可惜我没有相机 否则一定要拍个照片 谢谢支持! 易北 qq:6036725
标签: 家
上传时间: 2015-12-05
上传用户:er1219
金鹏LCD驱动,单片机和液晶的底层接口程序。可以在液晶的任意位置显示任意字符(包括汉字、字幕和ASCII图形)、字符串
上传时间: 2014-06-26
上传用户:lx9076
1、ps/2键盘输入,通过led显示ascii码 2、稍等1s可以在lcd上显示输入的字符 3、其中键盘上的backspce键是用来清屏的 4、当lcd上显示满字符时,在按下按键自动清屏,从第一行显示。
上传时间: 2013-12-26
上传用户:123啊
任务调度 当程序运行后,任务MYTASK的工作就是每秒在显示器上显示一个字符M
上传时间: 2014-08-10
上传用户:baiom
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
本程序采用c语言对51单片机编程,控制液晶显示器LCD1602显示指定字符,可以很好的用于仪器工作状态输出,指示。
上传时间: 2016-05-05
上传用户:dave520l
周立功开发板,使用芯片lpc2292,依次让多个数码管显示任意字符
标签: 开发板
上传时间: 2013-12-23
上传用户:拔丝土豆
msp430单片机接收通过PS2端口传过来的标准键盘数据,然后对可显示的字符进行解码并在1602液晶上进行显示的程序
上传时间: 2013-12-23
上传用户:TF2015