一臺精密儀器的工作時間為 n 個時間單位。與儀器工作時間同步進(jìn)行若干儀器維修程序。一旦啟動維修程序,儀器必須進(jìn)入維修程序。如果只有一個維修程序啟動,則必須進(jìn)入該維修程序。如果在同一時刻有多個維修程序,可任選進(jìn)入其中的一個維修程序。維修程序必須從頭開始,不能從中間插入。一個維修程序從第s個時間單位開始,持續(xù) t個時間單位,則該維修程序在第s+t-1個時間單位結(jié)束。為了提高儀器使用率,希望安排盡可能少的維修時間。
上傳時間: 2013-12-20
上傳用戶:pkkkkp
This archive includes the Delphi component TScreenCapture (D3,D4,D5) that implements an interface to the capture DLL of our screen capture tool "T.N.T".
標(biāo)簽: TScreenCapture implements component interface
上傳時間: 2015-09-24
上傳用戶:dreamboy36
生成Bipartite Graphs ./distributions -u -m 1 -M 10 -n 100 -s 500 > top_distrib ./distributions -p -2.2 -m 1 -M 100 -n 200 -s 500 > bottom_distrib ./random_bipartite -t top_distrib -b bottom_distrib > bn_test
標(biāo)簽: distributions top_distrib Bipartite Graphs
上傳時間: 2015-10-02
上傳用戶:yy541071797
--- --- --- ----UART0: 115200,8,n,1------------------------------- Embest S3CEV40 >Embest Info&Tech Co., Ltd. Embest Info&Tech Co., Ltd. Embest S3CEV40 >
標(biāo)簽: Embest 115200 UART 3CEV
上傳時間: 2013-11-30
上傳用戶:wqxstar
假定已經(jīng)有許多應(yīng)用采用了程序1 - 1 5中所定義的C u r r e n c y類,現(xiàn)在我們想要對C u r r e n c y類 的描述進(jìn)行修改,使其應(yīng)用頻率最高的兩個函數(shù)A d d和I n c r e m e n t可以運(yùn)行得更快,從而提高應(yīng) 用程序的執(zhí)行速度。由于用戶僅能通過p u b l i c部分所提供的接口與C u r r e n c y類進(jìn)行交互,
上傳時間: 2015-10-11
上傳用戶:BIBI
鄰接矩陣類的根是A d j a c e n c y W D i g r a p h,因此從這個類開始。程序1 2 - 1給出了類的描述。程 序中,先用程序1 - 1 3中函數(shù)Make2DArray 為二組數(shù)組a 分配空間,然后對數(shù)組a 初始化,以描述 一個n 頂點、沒有邊的圖的鄰接矩陣,其復(fù)雜性為( n2 )。該代碼沒有捕獲可能由M a k e 2 D A r r a y 引發(fā)的異常。在析構(gòu)函數(shù)中調(diào)用了程序1 - 1 4中的二維數(shù)組釋放函數(shù)D e l e t e 2 D
標(biāo)簽: 矩陣
上傳時間: 2013-12-21
上傳用戶:lanjisu111
在sco unix 下顯示前n天或后n天日期的處理程序。 printf("功能: 時間戳與時間格式字符串的轉(zhuǎn)換程序\n") printf(" -i 輸入的參數(shù)為時間戳\n") printf(" -s 輸入的參數(shù)為格式化時間\n") printf(" -t 輸入的時間取當(dāng)前系統(tǒng)時間\n") printf(" -x 輸入的時間增加或減少的天數(shù)\n") printf(" -o 輸出的時間為時間戳格式\n") printf(" -O 輸出的時間為格式化時間\n") printf(" -h 幫助文件-查看[format]如何定義,例 %s -h\n",procname) printf("范例:1 取當(dāng)前日期的前2天的時間顯示 %s -t -x -2\n",procname) printf(" 2 取20030101的前5天的時間顯示 %s -s 20030101000000 -x -5\n",procname) printf(" 3 取20031231的后5天的時間顯示 %s -s 20031231000000 -x 5 -O \"%%D %%T\"\n",procname) printf(" 4 取時間戳為1089619417的時間顯示 %s -i 1089619417 \n",procname) printf(" 5 取時間戳為1089619417的后4天的時間顯示 %s -i 1089619417 -x 4 \n",procname)
標(biāo)簽: printf unix sco 處理程序
上傳時間: 2015-10-17
上傳用戶:TRIFCT
HDOJ ACM input:The input consists of T test cases. The number of test cases ) (T is given in the first line of the input. Each test case begins with a line containing an integer N , 1<=N<=200 , that represents the number of tables to move. Each of the following N lines contains two positive integers s and t, representing that a table is to move from room number s to room number t (each room number appears at most once in the N lines). From the N+3-rd line, the remaining test cases are listed in the same manner as above.
標(biāo)簽: input cases test The
上傳時間: 2015-10-18
上傳用戶:三人用菜
Input The first line of the input contains a single integer T (1 <= T <= 20), the number of test cases. Then T cases follow. The first line of each case contains N, and the second line contains N integers giving the time for each people to cross the river. Each case is preceded by a blank line. There won t be more than 1000 people and nobody takes more than 100 seconds to cross. Output For each test case, print a line containing the total number of seconds required for all the N people to cross the river. Sample Input 1 4 1 2 5 10 Sample Output 17
標(biāo)簽: the contains integer number
上傳時間: 2015-10-27
上傳用戶:plsee
最小生成樹問題 若要在n個城市之間建設(shè)通信網(wǎng)絡(luò),只需要架設(shè)n-1條線路即可。如何以最低的經(jīng)濟(jì)代價建設(shè)這個通信網(wǎng),是一個網(wǎng)的最小生成樹問題。 (1)利用克魯斯卡爾算法求網(wǎng)的最小生成樹。 (2)實現(xiàn)教科書6.5節(jié)中定義的抽象樹類型 MFSet。以此表示構(gòu)造生成樹過程中的連通分量。 (3)以文本形式輸出生成樹中各條邊以及他們的權(quán)值。
標(biāo)簽: 生成樹 城市 通信網(wǎng)絡(luò)
上傳時間: 2015-11-10
上傳用戶:jhksyghr
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1