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

2<b>6</b>2

  • 汇编常用的小程序

    汇编常用的小程序,包括2转10,2转ASCII等等,里面注释比较详细,请大家自己看,欢迎提出意见。

    标签: 汇编 程序

    上传时间: 2016-01-02

    上传用户:caiiicc

  • 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

  • 扫雷程序还会自动展开已确定没有雷的雷区。如果a[3][4]周围雷数为1

    扫雷程序还会自动展开已确定没有雷的雷区。如果a[3][4]周围雷数为1,a[2][3]已被标示为地雷,那么a[2][4],a[2][5],a[3][3],a[3][5],a[4][3],a[4][4],a[4][5]将被展开,一直波及到不可确定的雷区。这也是实现的关键。我们可以把数组的元素设定为一个类对象,它们所属的类设定这样的一个事件:在被展开时,检查周围的雷数是否与周围标示出来的雷数相等,如果相等则展开周围未标示的雷区。这样新的雷区展开又触发这个事件,就这样递归下去,一直蔓延到不可展开的雷区。相信在了解以上两个要点后,把雷区这个类编写完全(如添加是否有雷标记,是否展开标记,周围雷数等,双击,左右单击的鼠标事件等),实现扫雷程序应是十分简单的一件事。

    标签: 程序 自动

    上传时间: 2016-02-13

    上传用户:GHF

  • 增量型PID算法汇编程序

    增量型PID算法汇编程序,增量式PID算法的输出量为 UnΔ = Kp[(en-en-1)+(T/Ti)en+(Td/T)(en-2*en-1+en-2)] 式中,en、en-1、en-2分别为第n次、n-1次和n-2次的偏差值,Kp、Ti、Td分别为比例系数、积分系数和微分系数,T为采样周期。

    标签: PID 增量 算法 汇编程序

    上传时间: 2016-03-11

    上传用户:zaizaibang

  • Agent动画演示 Agent动画人物使用演示 安装:Agent是一种ActiveX控件

    Agent动画演示 Agent动画人物使用演示 安装:Agent是一种ActiveX控件,在Delphi IDE中选择菜单Component, Import ActiveX Control,选择Microsoft Agent Control 2.0 (Version 2.0),点Install安装便可。 其它:请直接查看本程序源码及相关设置,祝你快乐

    标签: Agent ActiveX 动画 控件

    上传时间: 2016-03-29

    上传用户:缥缈

  • 1984年出版

    1984年出版,成型于美国麻省理工学院(MIT)多年使用的一本教材,1996年修订为第2版。在过去的二十多年里,本书对于计算机科学的教育计划产生了深刻的影响。  本版中大部分重要程序设计系统都重新修改并做过测试,包括各种解释器和编译器。 目录 出版者的话 专家指导委员会 序 第2版前言 第1版前言 致谢 第1章 构造过程抽象 1.1 程序设计的基本元素 1.2 过程与它们所产生的计算 1.3 用高阶函数做抽象 第2章 构造数据现象 2.1 数据抽象导引 2.2 层次性数据和闭包性质 2.3 符号数据 2.4 抽象数据的多重表示 2.5 带有通用型操作的系统 第3章 模块化、对象和状态 3.1 赋值和局部状态 3.2 求值的环境模型 3.3 用变动数据做模拟 3.4 并发:时间是一个本质问题 3.5 流 第4章 元语言抽象 4.1 元循环求值器 4.2 Scheme的变形——惰性求值 4.3 Scheme的变形——非确定性计算 4.4 逻辑程序设计 第5章 寄存器机器里的计算 5.1 寄存器机器的设计 5.2 一个寄存器机器模拟器 5.3 存储分配和废料收集 5.4 显式控制的求值器 5.5 编译 参考文献 练习表 索引

    标签: 1984

    上传时间: 2013-11-29

    上传用户:咔乐坞

  • 简单一元函数优化实例

    简单一元函数优化实例,利用遗传算法计算函数f(x)=x*sin(10pi*x)+2.0,-1<=x<=2的最大值

    标签: 函数优化

    上传时间: 2016-05-19

    上传用户:love_stanford

  • 利用取表的方法

    利用取表的方法,使端口P1做单一灯的变化:左移2次,右移2次,闪烁2次(延时的时间0.2秒)。

    标签:

    上传时间: 2014-10-29

    上传用户:hoperingcong

  • 魔王语言解释程序:有一个魔王总是使用自己的一种非常精练而抽象的语言讲话

    魔王语言解释程序:有一个魔王总是使用自己的一种非常精练而抽象的语言讲话,没有人能听懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: (1)α->β1β2……βm (2)(θδ1δ2……δn)—>θδnθδn-1……θδ1θ 在这两种形式中,从左到右均表示解释。试写一个魔王语言的解释系统,把他的话解释成人能听得懂的话;

    标签: 语言 程序 抽象

    上传时间: 2013-12-10

    上传用户:daoxiang126