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

计算<b>方法</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

  • 分形几何--用简单构造复杂的艺术。 对图形的放大有两种

    分形几何--用简单构造复杂的艺术。 对图形的放大有两种,一种是光栅放大,放大后图形的边界会产生锯齿;另一种是矢量放大,采用的是关系计算的方法,放大的图形不会出现锯齿和模糊。基于Julia的方法属于矢量放大,该方法被称为“分形显微镜”。是一个很有用的功能模块。

    标签: 分形 几何 图形 放大

    上传时间: 2015-12-05

    上传用户:xsnjzljj

  • 本程序是一个非常简单的计算器;能实现基本的加、减、乘、除的功能. 运行环境:WINDOWS系列 缺点: 只能通过键盘等输入设备输入参与运算的数。 软件本身不带输入功能。

    本程序是一个非常简单的计算器;能实现基本的加、减、乘、除的功能. 运行环境:WINDOWS系列 缺点: 只能通过键盘等输入设备输入参与运算的数。 软件本身不带输入功能。 这里只是提供一种计算的方法,通过完善之后,可以用于带有计算器功能 的嵌入式产品的开发研究中。 程序有待改进;增加更多功能。(如上面提到的...)。 欢迎使用该软件,只作学习研究用,严禁用于任何商业用途。 版权所有 违者必究

    标签: WINDOWS 输入 程序

    上传时间: 2013-11-25

    上传用户:CSUSheep

  • 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

  • 与银行主机进行数据包传输时

    与银行主机进行数据包传输时,数据串都要计算MAC,这个文档就是告诉你如何计算MAC方法

    标签: 主机 数据包 传输

    上传时间: 2016-01-19

    上传用户:15736969615

  • 这是我原创的

    这是我原创的,用于单片机高速计算MODBUS通讯时需要的CRC校验码,使用查表的方法,比计算的方法快 有疑问可以写信, gaojun1117@sohu.com

    标签:

    上传时间: 2013-12-22

    上传用户:skhlm

  • 本书分为三篇

    本书分为三篇,上篇介绍了Matlab的基本功能和操作,中篇使读者更深一步了解应用Matlab进行编程和数值计算的方法,以及动态系统仿真工具Simulink的功能,下篇着重介绍了最常用的几个工具箱。

    标签:

    上传时间: 2016-09-20

    上传用户:hj_18

  • 汉诺塔!!! 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

  • fft蝶形算法

    fft蝶形算法,用c++编写,采用循环计算的方法

    标签: fft 算法

    上传时间: 2017-02-18

    上传用户:天涯

  • 将魔王的语言抽象为人类的语言:魔王语言由以下两种规则由人的语言逐步抽象上去的:α-〉β1β2β3…βm ;θδ1δ2…-〉θδnθδn-1…θδ1 设大写字母表示魔王的语言

    将魔王的语言抽象为人类的语言:魔王语言由以下两种规则由人的语言逐步抽象上去的:α-〉β1β2β3…βm ;θδ1δ2…-〉θδnθδn-1…θδ1 设大写字母表示魔王的语言,小写字母表示人的语言B-〉tAdA,A-〉sae,eg:B(ehnxgz)B解释为tsaedsaeezegexenehetsaedsae对应的话是:“天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一只鹅地上一只鹅”。(t-天d-地s-上a-一只e-鹅z-追g-赶x-下n-蛋h-恨)

    标签: 语言 抽象 字母

    上传时间: 2013-12-19

    上传用户:aix008