there is additional code code required to create a log window for output
標簽: code additional required create
上傳時間: 2016-12-01
上傳用戶:baitouyu
// chebysheve outlier detection // this function is used to detect the abnormal value among a set of data // input: // delta: a set of data // flag: discribe which data is already known as outlier // p: restrict level // output: // double[] door : byyond which the data may be considered as a outlier // door[0]: the upperdoor // door[1]: the lowerdoor
標簽: chebysheve detection abnormal function
上傳時間: 2013-11-30
上傳用戶:13517191407
N位同學站成一排,音樂老師要請其中的(N-K)位同學出列,使得剩下的K位同學排成合唱隊形。 合唱隊形是指這樣的一種隊形:設K位同學從左到右依次編號為1,2…,K,他們的身高分別為T1,T2,…,TK, 則他們的身高滿足T1 < T2 < ...< Ti > Ti+1 > … > TK (1 <= i <= K)。 你的任務是,已知所有N位同學的身高,計算最少需要幾位同學出列,可以使得剩下的同學排成合唱隊形。 Input 輸入包含若干個測試用例。 對于每個測試用例,輸入第一行是一個整數N(2<=N<=100),表示同學的總數。第二行有N個整數,用空格分隔,第i個整數Ti(130<=Ti<=230)是第i位同學的身高(厘米)。當輸入同學總數N為0時表示輸入結束。 Output 對于每個測試案例,輸出包括一行,這一行只包含一個整數,就是最少需要幾位同學出列。 Sample Input 8 186 186 150 200 160 130 197 220 3 150 130 140 0 Sample Output 4 1
標簽:
上傳時間: 2016-12-06
上傳用戶:jackgao
Description 將m個孩子從1到m編上號,按序號圍坐成一個圈,從1號孩子開始數,每數到n時,被數到的孩子即離開圈子,然后從下一個孩子開始,再從1開始數,如此不斷地數下去,只到只剩下最后一個孩子,問剩下的孩子是幾號? Input 輸入為一組整數對,每個整數對占一行,整數對的第一個整數表示m,即孩子的個數,第二個整數表示n,即被數到n的孩子將離開。 0<m<10000, n>0 輸入以0 0作為結束。 Output 每組整數對輸出一個結果整數,每個輸出占一行。 最后一行輸入0 0不產生輸出。
標簽: Description
上傳時間: 2016-12-09
上傳用戶:凌云御清風
Description 一個一元多項式可以看作由若干個一元單項式按降冪排列成的線性表。請編寫程序對輸入的兩個一元多項式求積,并輸出求積的結果。 Input 輸入為兩個一元多項式,每個一元多項式輸入一行,按照降冪依次輸入每個單項式的系數和指數,并以-1 -1作為結束。 系數和指數均為整數,指數不小于0。 Output 輸出為求積結果多項式,按照降冪依次輸出每個單項的系數和指數,每個數值后面用一個空格隔開,輸出結果多項式后換行。 系數為0的單項式不得輸出——除非結果多項式就是0,則直接輸出0。
標簽: Description 多項式 線性 程序
上傳時間: 2016-12-09
上傳用戶:sammi
A passive optical network (PON) is a point-to-multipoint, fiber to the premises network architecture in which unpowered optical splitters are used to enable a single optical fiber to serve multiple premises, typically 32-128. A PON consists of an Optical Line Termination (OLT) at the service provider s central office and a number of Optical Network Units (ONUs) near end users. A PON configuration reduces the amount of fiber and central office equipment required compared with point to point architectures
標簽: network point-to-multipoint architecture premises
上傳時間: 2016-12-10
上傳用戶:王慶才
在C++中open一個output file有兩種方式,一種是使用member function open( ),另外一種是使用constructor給予檔案名稱和open mode。今若欲open一個名為client.dat的output file,試分別寫出該兩種方式open此檔案的statements.(包括include header file,物件的宣告,open指令等)
上傳時間: 2016-12-21
上傳用戶:wxhwjf
Implement a phone book system for employees of a company. Your program will output the following menu (1) Enter an employee and a phone pair to the system (2) Lookup an employee s phone number (3) Find out who is/are the person(s) of a given number (4) How many people are currently in the system (5) Delete an employee from the system (6) Output all employees name‐phone pair (7) How many phone numbers total in the current system (8) Quit When
標簽: Implement employees following company
上傳時間: 2013-12-17
上傳用戶:zhangliming420
J2ME CANVAS INPUT IN CHINESE
上傳時間: 2016-12-23
上傳用戶:yd19890720
Audio output from sound file for MCU.
上傳時間: 2013-12-23
上傳用戶:windwolf2000