-
一:需求分析
1. 问题描述
魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两...
一:需求分析
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 |
| 天 | 地 | 上 | 一只| 鹅 | 追 | 赶 | 下 | 蛋 | 恨 |
-one : a needs analysis. Problem description always use their own fiendish a very concise and abstract language speech Nobody can understand, but the language is gradually explained adult can understand the language, because his language is composed of the following two forms of
- 2022-09-04 11:50:02下载
- 积分:1
-
06638849
Discrete signal processing graph filters
- 2020-08-01 23:38:37下载
- 积分:1
-
Free-Forex-Profitable-Strategy
Used for Binary trading. It is non repaint indicators.
- 2019-04-27 03:36:03下载
- 积分:1
-
计算机组成原理试题13,提供给在校学生,或者考研需要者,希望能提供一些帮助...
计算机组成原理试题13,提供给在校学生,或者考研需要者,希望能提供一些帮助-Principles of Computer Organization Test 13, made available to students at school, or study section for those who need it, hoping to provide some help
- 2022-05-21 16:27:52下载
- 积分:1
-
Sim_EKB_Install_2016_07_16
西门子注册软件Sim_EKB_Install_2016_07_16(siemens Sim_EKB_Install_2016_07_16)
- 2020-06-15 22:30:01下载
- 积分:1
-
xiaoboquzaosoft
说明: 小波软阈值去噪,导入自己的数据,结合自己的数据修改(Wavelet soft threshold denoising can be adjusted according to its own data)
- 2020-11-26 09:19:10下载
- 积分:1
-
MPM3D-F90
物质点3维显示程序,含有材料模型,能求解碰撞(3D material point method)
- 2017-06-10 15:34:38下载
- 积分:1
-
ntfs-syxtem-fbt
检测每个盘的文件系统,比如fat还是ntfs并且显示出来,不错(Check the file system for each disk, such as fat or ntfs, and display it.)
- 2018-12-01 11:01:34下载
- 积分:1
-
等高线拟合源代码(matlab源码),老外编的,水平确实可以,佩服。里面注释挺详细了。...
等高线拟合源代码(matlab源码),老外编的,水平确实可以,佩服。里面注释挺详细了。-contour fitting source code (Matlab source), a foreigner series, level really can admire. Inside Notes quite detailed.
- 2022-07-07 01:48:30下载
- 积分:1
-
解决manjaro安装过程由于显卡驱动问题造成的卡死现象
说明: 解决manjaro安装过程由于显卡驱动问题造成的卡死现象,
开机进入bootloader选择nofree,光标移动到Boot,按E,在删除drive=xxx一直到空格的一串,添加代码。(To solve the problem of jamming caused by graphics card driver during the installation of manjaro,
Boot into bootloader select no free, move the cursor to Boot, press E, delete drive = XXX until the blank string, add code.)
- 2020-06-24 04:20:01下载
- 积分:1