虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

6.<b>5</b>

  • 一:需求分析 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 | | 天 | 地 | 上 | 一只| 鹅 | 追 | 赶 | 下 | 蛋 | 恨 |

    标签: 语言 抽象

    上传时间: 2014-12-02

    上传用户:jkhjkh1982

  • 程序源代码分成两个部分:  一部分是用记事本或EditPlus编写的

    程序源代码分成两个部分:  一部分是用记事本或EditPlus编写的,是以各章形式组织的。 例如,第二章的内容放在ch2文件夹下。  一部分是用集成开发环境编写的,工程名即是例题号,一个例题放在一个文件夹下。 例如,例5-6放在5-6文件夹下,工程名为5-6。

    标签: EditPlus 61557 程序

    上传时间: 2013-12-20

    上传用户:yzy6007

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    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

  • The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical)

    The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).

    标签: converts Toolbox complex logical

    上传时间: 2016-02-12

    上传用户:a673761058

  • 很好的,装置中阅读器、应答器均具有无线传输功能

    很好的,装置中阅读器、应答器均具有无线传输功能,频率和调制方式自由选定。不得使用现有射频识别卡或用于识别的专用芯片。装置中的耦合线圈为圆形空芯线圈,用直径不大于1mm的漆包线或有绝缘外皮的导线密绕10圈制成。线圈直径为6.6±0.5 cm(可用直径6.6 cm左右的易拉罐作为骨架,绕好取下,用绝缘胶带固定即可)。线圈间的介质为空气。两个耦合线圈最接近部分的间距定义为D。 阅读器、应答器不得使用其他耦合方式

    标签: 装置 应答器 无线传输 阅读器

    上传时间: 2013-12-26

    上传用户:sxdtlqqjl

  • 一被控对象

    一被控对象 ,给定为阶跃给定,幅值为500,设计一个两维模糊PI型控制器,输入语言变量和输出语言变量均取7个值{NB,NM,NS,ZE,PS,PM,PB},模糊论域为{-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6},用matlab编程仿真研究。

    标签: 对象

    上传时间: 2013-12-16

    上传用户:大融融rr

  • 汉诺塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation

    汉诺塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation eg. if n = 2 A→B A→C B→C if n = 3 A→C A→B C→B A→C B→A B→C A→C

    标签: the animation Simulate movement

    上传时间: 2017-02-11

    上传用户:waizhang

  • 详细介绍uclinux移植过程

    详细介绍uclinux移植过程,很系统! 第六章目录:6.1 Bootloader  6.1.1 Bootloader介绍  6.1.2 Bootloader的启动  6.1.3 Bootloader的种类  6.2 U-Boot编程  6.2.1 U-Boot工程简介  6.2.2 U-Boot源码结构  6.2.3 U-Boot的编译  6.2.4 U-Boot的移植  6.2.5 添加U-Boot命令  6.3 U-Boot的调试  6.3.1 硬件调试器  6.3.2 软件跟踪  6.3.3 U-Boot启动过程  6.3.4 U-Boot与内核的关系  6.4 使用U-Boot  6.4.1 烧写U-Boot到Flash  6.4.2 U-Boot的常用命令[1]  6.4.2 U-Boot的常用命令[2]  6.4.3 U-Boot的环境变量 141

    标签: uclinux 详细介绍 移植 过程

    上传时间: 2017-03-09

    上传用户:洛木卓

  • 在嵌入式系统下运行华硕无线usb网卡wl176

    在嵌入式系统下运行华硕无线usb网卡wl176,目前已经经过在pxa271下测试使用,运行的系统环境linux 2.6.21.5

    标签: usb 176 wl 嵌入式系统

    上传时间: 2013-12-30

    上传用户:fhzm5658

  • 手机网络纸牌游戏

    手机网络纸牌游戏,用户名:mr 密码:mrsoft。牌的大小按下列顺序排列:A、K、Q、J、10、9、8、7、6、5、4、3、2。 1.出牌 (1)每轮只允许出一张牌。 (2)第一局游戏由得到梅花2的一方首先出牌,并且必须出梅花2。 (3)必须先出与首家相同花色的牌,无相同花色时方可用其它花色代替。 (4)最大方得到该轮的所有分牌,并获得本轮先出牌的资格。 2.分值计算 红桃:红桃为分牌。

    标签: 手机网络

    上传时间: 2014-01-19

    上传用户:笨小孩