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

STR-W

  • 黑白点的匹配贪心算法 设平面上分布着n个白点和n个黑点

    黑白点的匹配贪心算法 设平面上分布着n个白点和n个黑点,每个点用一对坐标(x, y)表示。一个黑点b=(xb,yb)支配一个白点w=(xw, yw)当且仅当xb>=xw和yb>=yw。若黑点b支配白点w,则黑点b和白点w可匹配(可形成一个匹配对)。在一个黑点最多只能与一个白点匹配,一个白点最多只能与一个黑点匹配的前提下,求n个白点和n个黑点的最大匹配对数。

    标签: 黑白 算法 分布

    上传时间: 2015-10-25

    上传用户:zhliu007

  • This designs uses a Nios II system to demonstrate how to read from the SD card. The software reads W

    This designs uses a Nios II system to demonstrate how to read from the SD card. The software reads WAV files from the SD card and plays it through the LINE OUT line. Simply put a SD card into the slot on the board and connect some speakers to the LINE OUT port.Preparing the SD card

    标签: demonstrate software designs system

    上传时间: 2015-10-26

    上传用户:lizhen9880

  • 限电器硬件板应用

    限电器硬件板应用,适合于上千W的功率 程序很少的噢

    标签: 限电器 硬件

    上传时间: 2015-11-03

    上传用户:nairui21

  • 词法分析器制作与应用 设计思想 (1)程序主体结构部分: 说明部分 %% 规则部分 %% 辅助程序部分 (2)主体结构的说明 在这里说明部分告诉我们使用的LETTER,DIGIT,

    词法分析器制作与应用 设计思想 (1)程序主体结构部分: 说明部分 %% 规则部分 %% 辅助程序部分 (2)主体结构的说明 在这里说明部分告诉我们使用的LETTER,DIGIT, IDENT(标识符,通常定义为字母开头的字母数字串)和STR(字符串常量,通常定义为双引号括起来的一串字符)是什么意思.这部分也可以包含一些初始化代码.例如用#include来使用标准的头文件和前向说明(forward ,references).这些代码应该再标记"%{"和"%}"之间 规则部分> 可以包括任何你想用来分析的代码 我们这里包括了忽略所有注释中字符的功能,传送ID名称和字符串常量内容到主调函数和main函数的功能. (3)实现原理 程序中先判断这个句语句中每个单元为关键字、常数、运算符、界符,对与不同的单词符号给出不同编码形式的编码,用以区分之。 PL/0语言的EBNF表示 <常量定义>::=<标识符>=<无符号整数> <标识符>::=<字母>={<字母>|<数字>} <加法运算符>::=+|- <乘法运算符>::=*|/ <关系运算符>::==|#|<|<=|>|>= <字母>::=a|b|…|X|Y|Z <数字>::=0|1|2|…|8|9

    标签: LETTER DIGIT 程序

    上传时间: 2015-11-04

    上传用户:zhengzg

  • This book has been updated for the new Java version, J2SE 5.0, and works its way through a project w

    This book has been updated for the new Java version, J2SE 5.0, and works its way through a project with requirements and structure similar to the project you ll encounter in the SCJD exam

    标签: updated project through version

    上传时间: 2015-11-08

    上传用户:csgcd001

  • The Game: Make the snake grow longer by directing it to the food. Extra bonus points are given fro

    The Game: Make the snake grow longer by directing it to the food. Extra bonus points are given from hearts, eat them as fast as possible as amount of bonus points decreases with time. Higher level gives more points for the food but will also make it tougher to steer a long snake as speed increaces. Five different mazes as well as play w/o maze are possible.

    标签: the directing longer points

    上传时间: 2013-12-20

    上传用户:璇珠官人

  • DOSBox emulates a full x86 pc with sound and dos. Its main use is to run old dosgames on platforms w

    DOSBox emulates a full x86 pc with sound and dos. Its main use is to run old dosgames on platforms which don t have dos(win2K/XP/linux/FreeBSD/Mac OS X)

    标签: platforms emulates dosgames DOSBox

    上传时间: 2015-11-14

    上传用户:TRIFCT

  • 集装箱的装箱问题 给定一个集装箱

    集装箱的装箱问题 给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装箱的空间利用率最高?

    标签: 集装箱

    上传时间: 2013-12-24

    上传用户:二驱蚊器

  • EDB (Evan s Debugger) is a QT4 based binary mode debugger with the goal of having usability on par w

    EDB (Evan s Debugger) is a QT4 based binary mode debugger with the goal of having usability on par with OllyDbg. It uses a plugin architecture, so adding new features can be done with ease. The current release is for Linux, but future releases will target more platforms. Release focus: Major feature enhancements Changes: A new disassembly engine. A bug that could cause crashing was fixed. There is a new flags breakdown in the register view, an environment view plugin, and improved analysis (including a good speed increase). A bug in QT where disabled events could be triggered has been worked around.

    标签: usability Debugger debugger binary

    上传时间: 2013-12-21

    上传用户:gundamwzc

  • 根据用户输入的命令行选项的不同

    根据用户输入的命令行选项的不同,来实现三种功能:argc为2时,命令格式为 myfind <pathname> 它要统计出,在常规文件中,文件长度不大于4096字节的常规文件,在所有允许访问的普通文件中所占的百分比。不允许打印出任何路径名。 argc为4且argv[2] == “-comp”时,命令格式为 myfind <pathname> -comp <filename> 输出在<pathname>目录子树之下,所有与<filename>文件内容一致的文件的绝对路径名。不允许输出任何其它的路径名,包括不可访问的路径名。当参数pathname不是绝对路径时,调用getcwd()等函数来取得文件的绝对路径名。 argc 大于等于4且argv[2] == “-name”时,命令格式为myfind <pathname> -name <str>…<str>…是一个以空格分隔的文件名序列(不带目录)。命令输出<pathname>目录子树之下,所有与<str>…序列中文件名相同的文件的绝对路径名。不允许输出不可访问的或无关的路径名。

    标签: 用户 命令行 输入

    上传时间: 2014-11-30

    上传用户:jichenxi0730