acm HDOJ 1051WoodenSticks Description: There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It needs some time, called setup time, for the machine to prepare processing a stick. The setup times are associated with cleaning operations and changing tools and shapes in the machine. The setup times of the woodworking machine are given as follows: (a) The setup time for the first wooden stick is 1 minute. (b) Right after processing a stick of length l and weight w , the machine will need no setup time for a stick of length l and weight w if l<=l and w<=w . Otherwise, it will need 1 minute for setup.
標(biāo)簽: WoodenSticks Description length wooden
上傳時間: 2014-03-08
上傳用戶:netwolf
This collection of routines allows the Atmel AT89C5x and AT89Cx051 micro- controllers to read and write the AT25xxx family of serial CMOS EEPROMS.
標(biāo)簽: controllers collection and routines
上傳時間: 2015-10-19
上傳用戶:gundan
本題采用的計(jì)算方法為:矩陣的 分解和Cholesky分解。根據(jù)Gauss消去法的的矩陣意義,可以將矩陣A分解為一個單位下三角矩陣與一個上三角矩陣的乘積即:即矩陣的LU分解A=LU,進(jìn)而可以分解為: 的形式。當(dāng)A為對稱矩陣時,A可分解為: 的形式。
標(biāo)簽: Cholesky Gauss 矩陣 分解
上傳時間: 2015-10-22
上傳用戶:hopy
代入法的啟發(fā)示搜索 我的代碼實(shí)現(xiàn)是:按照自然語言各字母出現(xiàn)頻率的大小從高到低(已經(jīng)有人作國統(tǒng)計(jì)分析了)先生成一張字母出現(xiàn)頻率統(tǒng)計(jì)表(A)--------(e),(t,a,o,i,n,s,h,r),(d,l),(c,u,m,w,f,g,y,p,b),(v,k,j,x,q,z) ,再對密文字母計(jì)算頻率,并按頻率從高到低生成一張輸入密文字母的統(tǒng)計(jì)表(B),通過兩張表的對應(yīng)關(guān)系,不斷用A中的字母去替換B中的字母,搜索不成功時就回退,在這里回朔是一個關(guān)鍵。
上傳時間: 2015-10-24
上傳用戶:wanqunsheng
黑白點(diǎn)的匹配貪心算法 設(shè)平面上分布著n個白點(diǎn)和n個黑點(diǎn),每個點(diǎn)用一對坐標(biāo)(x, y)表示。一個黑點(diǎn)b=(xb,yb)支配一個白點(diǎn)w=(xw, yw)當(dāng)且僅當(dāng)xb>=xw和yb>=yw。若黑點(diǎn)b支配白點(diǎn)w,則黑點(diǎn)b和白點(diǎn)w可匹配(可形成一個匹配對)。在一個黑點(diǎn)最多只能與一個白點(diǎn)匹配,一個白點(diǎn)最多只能與一個黑點(diǎn)匹配的前提下,求n個白點(diǎn)和n個黑點(diǎn)的最大匹配對數(shù)。
上傳時間: 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
標(biāo)簽: demonstrate software designs system
上傳時間: 2015-10-26
上傳用戶:lizhen9880
限電器硬件板應(yīng)用,適合于上千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
標(biāo)簽: 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.
標(biāo)簽: the directing longer points
上傳時間: 2013-12-20
上傳用戶:璇珠官人
五對角占優(yōu)線性方程組求解的MATLAB 程序MYLU。 輸入?yún)?shù)A為系數(shù)矩陣,F(xiàn)為右端向量。輸出參數(shù)L,U為A的LU 分解A=LU,X為解向量。
標(biāo)簽: MATLAB MYLU 對角 參數(shù)
上傳時間: 2013-12-04
上傳用戶:c12228
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1