黑白点的匹配贪心算法 设平面上分布着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 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
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 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 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 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
用凌阳SPCE061A在LCD上显示文字、图形 A0-A7连接LCD的DB0-DB7,B3、B4、B5连接LCD的A0、R/W、EP,LCD的CS可连接到DGND
上传时间: 2013-12-22
上传用户:2404
pyformat.zip包中有两个文件夹,pyformat_src文件夹里的为源代码,pyformat_dist文件夹里的为编译后的exe可执行程序,另外每个文件夹里都放了一个名为“testfile.txt”的测试文件。 源码使用方法示例:执行"python pyformat.py testfile.txt"。 可执行程序使用方法示例:执行“pyformat testfile.txt”。 即可把文件名中的不带调拼音+声调记号转化为带调拼音输出到stdout。文件名可以有多个。 例如:输入wo3 shi4 zhong1 guo2 ren2. 输出为wǒ shì zhōng guó rén. zho1ng、zhon1g、zhong1、zhong12341等均输出为zhōng。
上传时间: 2015-11-26
上传用户:1427796291