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.
標簽: 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.
標簽: controllers collection and routines
上傳時間: 2015-10-19
上傳用戶:gundan
本題采用的計算方法為:矩陣的 分解和Cholesky分解。根據Gauss消去法的的矩陣意義,可以將矩陣A分解為一個單位下三角矩陣與一個上三角矩陣的乘積即:即矩陣的LU分解A=LU,進而可以分解為: 的形式。當A為對稱矩陣時,A可分解為: 的形式。
上傳時間: 2015-10-22
上傳用戶:hopy
代入法的啟發示搜索 我的代碼實現是:按照自然語言各字母出現頻率的大小從高到低(已經有人作國統計分析了)先生成一張字母出現頻率統計表(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) ,再對密文字母計算頻率,并按頻率從高到低生成一張輸入密文字母的統計表(B),通過兩張表的對應關系,不斷用A中的字母去替換B中的字母,搜索不成功時就回退,在這里回朔是一個關鍵。
上傳時間: 2015-10-24
上傳用戶:wanqunsheng
黑白點的匹配貪心算法 設平面上分布著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
上傳用戶:璇珠官人
五對角占優線性方程組求解的MATLAB 程序MYLU。 輸入參數A為系數矩陣,F為右端向量。輸出參數L,U為A的LU 分解A=LU,X為解向量。
上傳時間: 2013-12-04
上傳用戶:c12228