用遞規子程序的方法實現HANOI塔問題.子程序模塊個數不限. 要求: 盤子個數可以輸入,第一個塔為A,第二個塔為B,第三個塔 的名稱為C.打印出移動過程.
上傳時間: 2013-12-17
上傳用戶:Yukiseop
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
in this paper,wo propose an extension of the zerotree-based space-frequency quantization algorithm by adding a wedgelet symbol to its tree-pruning optimization.
標簽: space-frequency zerotree-based quantization algorithm
上傳時間: 2015-10-22
上傳用戶:yxgi5
藍牙跳頻系統的simulink仿真程序(This is a MATLAB simulation (SIMULINK) for the hop selection scheme in Bluetooth. Since nearly the same scheme is used for 79 and 23-hop system. Only the 79-hop system in simulated in the CONNECTION state.)
標簽: simulation Bluetooth selection simulink
上傳時間: 2013-12-19
上傳用戶:wanqunsheng
一個旅行家想駕駛汽車從城市A到城市B(設出發時油箱是空的)。給定兩個城市之間的距離dis、汽車油箱的容量c、每升汽油能行駛的距離d、沿途油站數n、油站i離出發點的距離d[i]以及該站每升汽油的價格p[i],i=1,2,…,n。設d[1]=0<d[2]<…<d[n]。要花最少的油費從城市A到城市B,在每個加油站應加多少油,最少花費為多少?
上傳時間: 2013-12-31
上傳用戶:redmoons
b樣條曲線,有控制點的求法,還有用OPENGL顯示算法
標簽:
上傳時間: 2014-01-27
上傳用戶:evil
學生選課vb‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序
標簽: 源程序
上傳時間: 2014-01-13
上傳用戶:三人用菜
設B是一個n×n棋盤,n=2k,(k=1,2,3,…)。用分治法設計一個算法,使得:用若干個L型條塊可以覆蓋住B的除一個特殊方格外的所有方格。其中,一個L型條塊可以覆蓋3個方格。且任意兩個L型條塊不能重疊覆蓋棋盤
標簽:
上傳時間: 2013-12-16
上傳用戶:腳趾頭
% COMPDIR Computes a search direction in a subspace defined by Z. % Helper function for NLCONST. % Returns Newton direction if possible. % Returns random direction if gradient is small. % Otherwise, returns steepest descent direction. % If the steepest descent direction is small it computes a negative % curvature direction based on the most negative eigenvalue. % For singular matrices, returns steepest descent even if small.
標簽: Z. direction Computes function
上傳時間: 2014-01-24
上傳用戶:Thuan