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
企業物資管理系統 為了使物資管理部門的責、權、利得到落實, 以提高總體的經濟效益,采用J2EE 技術體系, 設計與實現了B/S 模式下的企業物資管理系統, 依據開發實例,分析了企業物資管理系統的業務需求和設計目標, 詳細討論了系統的實現技術、實現方案及安全設計
上傳時間: 2015-10-22
上傳用戶:liglechongchong
Verilog HDL: Magnitude For a vector (a,b), the magnitude representation is the following: A common approach to implementing these arithmetic functions is to use the Coordinate Rotation Digital Computer (CORDIC) algorithm. The CORDIC algorithm calculates the trigonometric functions of sine, cosine, magnitude, and phase using an iterative process. It is made up of a series of micro-rotations of the vector by a set of predetermined constants, which are powers of two. Using binary arithmetic, this algorithm essentially replaces multipliers with shift and add operations. In a Stratix™ device, it is possible to calculate some of these arithmetic functions directly, without having to implement the CORDIC algorithm.
標簽: representation Magnitude the magnitude
上傳時間: 2013-12-24
上傳用戶:金宜
代入法的啟發示搜索 我的代碼實現是:按照自然語言各字母出現頻率的大小從高到低(已經有人作國統計分析了)先生成一張字母出現頻率統計表(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
b樣條曲線,有控制點的求法,還有用OPENGL顯示算法
標簽:
上傳時間: 2014-01-27
上傳用戶:evil
黑白點的匹配貪心算法 設平面上分布著n個白點和n個黑點,每個點用一對坐標(x, y)表示。一個黑點b=(xb,yb)支配一個白點w=(xw, yw)當且僅當xb>=xw和yb>=yw。若黑點b支配白點w,則黑點b和白點w可匹配(可形成一個匹配對)。在一個黑點最多只能與一個白點匹配,一個白點最多只能與一個黑點匹配的前提下,求n個白點和n個黑點的最大匹配對數。
上傳時間: 2015-10-25
上傳用戶:zhliu007
學生選課vb‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序
標簽: 源程序
上傳時間: 2014-01-13
上傳用戶:三人用菜
素數篩選b算法源程序!輸出一個數內所有的素數,此算法是上一算法的優化~主要用VC實現
上傳時間: 2015-10-28
上傳用戶:無聊來刷下
1.大型稀疏線性方程組的求解 A*X=b 。 2. 一維數組冒泡法排序算法 4.矩陣求逆 5. 改進的牛頓算法——弦割法
上傳時間: 2015-10-29
上傳用戶:asddsd
這是一個簡單的用B/S寫的留言板小程序,用jsp和javaBean實現的
上傳時間: 2013-12-29
上傳用戶:yulg