文件名称:mowangyuyan
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- hongb******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
数据结构课程设计--魔王语言的解析
### ### ### ### ### ####
问题描述:
魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他
的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两种形式
的规则由人的语言逐步抽象上去的:
-----------------------------------------------------------
1)a---> (B1)(B2)....(Bm)
2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o]
-----------------------------------------------------------
在这两种形式中,从左到右均表示解释.试写一个魔王语言的解释系统,把
他的话解释成人能听得懂的话.-Data structure the curriculum design- Analysis of 23 languages devil!############################## Problem Descr iption: devil always use their own in a very concise and abstract language of speech, no one can understand, but his language is explained step by step adult can understand the language, because his language is by the following two forms of the rules step by step from the abstract language of :----------------- up------------------------------------------ 1) a---> ( B1) (B2 )....( Bm) 2) [(op1) (p2 )...( pn )]---->[ o (pn)] [o (p (n-1))] .....[ o (p1) o ]----------------------------------------------------------- In both forms, from left to right are said to explain. try to write a devil language interpretation systems, to explain his remarks adult able to understand words.
### ### ### ### ### ####
问题描述:
魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他
的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两种形式
的规则由人的语言逐步抽象上去的:
-----------------------------------------------------------
1)a---> (B1)(B2)....(Bm)
2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o]
-----------------------------------------------------------
在这两种形式中,从左到右均表示解释.试写一个魔王语言的解释系统,把
他的话解释成人能听得懂的话.-Data structure the curriculum design- Analysis of 23 languages devil!############################## Problem Descr iption: devil always use their own in a very concise and abstract language of speech, no one can understand, but his language is explained step by step adult can understand the language, because his language is by the following two forms of the rules step by step from the abstract language of :----------------- up------------------------------------------ 1) a---> ( B1) (B2 )....( Bm) 2) [(op1) (p2 )...( pn )]---->[ o (pn)] [o (p (n-1))] .....[ o (p1) o ]----------------------------------------------------------- In both forms, from left to right are said to explain. try to write a devil language interpretation systems, to explain his remarks adult able to understand words.
相关搜索: 魔王语言
(系统自动生成,下载前可以参看下载内容)
下载文件列表
魔王语言.txt