-
一:需求分析
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
-
This document contains a general overview in the first few sections as well as a...
This document contains a general overview in the first few sections as well as a more detailed reference in later sections for SVMpython. If you re already familiar with SVMpython, it s possible to get a pretty good idea of how to use the package merely by browsing through svmstruct.py and multiclass.py. This document provides a more in depth view of how to use the package.
Note that this is not a conversion of SVMstruct to Python. It is merely an embedding of Python in existing C code. All code other than the user implemented API functions is still in C, including optimization.
- 2022-05-13 10:59:05下载
- 积分:1
-
16计数器与AVR单片机Atmega8515
16 counters with AVR ATmega8515
- 2022-02-13 06:30:54下载
- 积分:1
-
数据结构教材中的全部排序算法,结构清楚 很好用的
数据结构教材中的全部排序算法,结构清楚 很好用的-data structure of all materials sorting algorithm, the structure clearly good use
- 2022-04-29 10:24:44下载
- 积分:1
-
约瑟夫环程序,在Visual C++里运行,可以运行的。
约瑟夫环程序,在Visual C++里运行,可以运行的。-Josephus procedures, the Visual C Lane running, running.
- 2022-05-18 12:13:59下载
- 积分:1
-
a dirty rectangular Demonstration Program, the online download, I hope useful fo...
一个脏矩形演示程序,在网上下载的,希望对大家有用。-a dirty rectangular Demonstration Program, the online download, I hope useful for all.
- 2022-11-23 04:25:03下载
- 积分:1
-
在视窗平台下的俄罗斯方块游戏,基于对话框
windows平台下的俄罗斯方块游戏,基于对话框-under windows platform Tetris game, based on the dialog box
- 2023-08-02 14:15:03下载
- 积分:1
-
LINGO 0
0-1问题在LINGO下的程序!-LINGO 0-1 in the process!
- 2022-01-24 14:36:34下载
- 积分:1
-
基于AT89C51单片机的音乐盒
基于AT89C51系列单片机的音乐盒,依据单片机的定时中断以及蜂鸣器的发声原理,通过KEIL编译程序,并将其通过烧写工具下载到单片机实验箱中,从而设计制作出一个八音盒。此程序使用C语言编写,实现对单片机的控制。
- 2022-02-02 00:08:28下载
- 积分:1
-
基于simulink的pid和预测控制器设计仿真
基于simulink的pid和预测控制器设计仿真-And projections based on simulink of pid controller design and simulation
- 2022-03-21 21:35:57下载
- 积分:1