-
一:需求分析
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
-
abe37e3f5fd1cf84e58575b3de6d4963
说明: it is useless, i am sorry
- 2020-06-16 00:00:07下载
- 积分:1
-
solve1550_diff
光纤激光放大程序,可以对于通信波段的,放大器。(Optical fiber laser amplification)
- 2018-06-23 22:11:12下载
- 积分:1
-
KCS11
说明: ees求卡琳娜循环热效率以及各状态点的参数(kalina cycle for ees)
- 2021-04-10 20:18:59下载
- 积分:1
-
KeysHitGame
用c#做的打字小游戏,对学习.NET的同学可能有所帮助(With c# To do the typing game, for learning. NET may be helpful to students)
- 2008-04-13 21:45:47下载
- 积分:1
-
Unimorph
压电悬臂梁,本振方程的构建,输出电压,共振频率的选择(Piezoelectric cantilever beam, the construction of the local vibration equation, the output voltage, the selection of resonance frequency)
- 2017-12-07 11:34:18下载
- 积分:1
-
图片3d翻转多米诺动画特效插件
说明: 一款效果炫酷的html5和css3图片3d翻转多米诺动画特效插件。(A cool effect of HTML 5 and CSS3 images 3D flip domino animation special effects plug-in.)
- 2019-02-18 11:27:28下载
- 积分:1
-
ET99工具
说明: ET99设置工具,可以批量设置,可以设置pid miam deng(ET99 setup tool, batch setup)
- 2020-06-23 23:40:01下载
- 积分:1
-
Elman神经网络
基于Elman神经网络的预测程序,可用于电力系统短期负荷预测 -Elman neural network-based forecasting process, can be used for short-term load forecasting of power system
- 2022-01-31 16:41:00下载
- 积分:1
-
带背景音乐的动画,dos下的多任务实现
带背景音乐的动画,dos下的多任务实现-background music with animation, dos under the multi-task to achieve
- 2023-02-27 18:00:03下载
- 积分:1