亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

Output

  • k-meansy算法源代碼。This directory contains code implementing the K-means algorithm. Source code may be f

    k-meansy算法源代碼。This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen.

    標(biāo)簽: code implementing directory algorithm

    上傳時間: 2016-04-07

    上傳用戶:shawvi

  • Programs in the irregular grid design package described in this manual are used to carry out five ma

    Programs in the irregular grid design package described in this manual are used to carry out five main functions: verification and adjustment of coastline and bathymetric data preparation of an irregular triangular depth grid covering the domain to be modelled production of a preliminary irregular triangular model grid with nodes suitably positioned for accurate and efficient numerical modelling interactive checking and editing, including trimming and joining, of model grid display and plotting of model Output.

    標(biāo)簽: described irregular Programs package

    上傳時間: 2016-04-09

    上傳用戶:fnhhs

  • 小型的Lex編譯器

    小型的Lex編譯器,能從input.txt識別簡單的C++語句,并將分析結(jié)果存于Output.txt中

    標(biāo)簽: Lex 編譯器

    上傳時間: 2014-01-12

    上傳用戶:qq21508895

  • Problem D:合唱隊形 Time Limit:1000MS Memory Limit:65536K Total Submit:1237 Accepted:437 Language

    Problem D:合唱隊形 Time Limit:1000MS Memory Limit:65536K Total Submit:1237 Accepted:437 Language: not limited Description N位同學(xué)站成一排,音樂老師要請其中的(N-K)位同學(xué)出列,使得剩下的K位同學(xué)排成合唱隊形。 合唱隊形是指這樣的一種隊形:設(shè)K位同學(xué)從左到右依次編號為1,2…,K,他們的身高分別為T1,T2,…,TK, 則他們的身高滿足T1 < T2 < ...< Ti > Ti+1 > … >TK(1<=i<=K)。 你的任務(wù)是,已知所有N位同學(xué)的身高,計算最少需要幾位同學(xué)出列,可以使得剩下的同學(xué)排成合唱隊形。 Input 輸入包含若干個測試用例。 對于每個測試用例,輸入第一行是一個整數(shù)N(2<=N<=100),表示同學(xué)的總數(shù)。第二行有N個整數(shù),用空格分隔,第i個整數(shù)Ti(130<=Ti<=230)是第i位同學(xué)的身高(厘米)。當(dāng)輸入同學(xué)總數(shù)N為0時表示輸入結(jié)束。 Output 對于每個測試案例,輸出包括一行,這一行只包含一個整數(shù),就是最少需要幾位同學(xué)出列。 Sample Input 8 186 186 150 200 160 130 197 220 3 150 130 140 0 Sample Output 4 1

    標(biāo)簽: Limit Accepted Language Problem

    上傳時間: 2014-01-13

    上傳用戶:aappkkee

  • 對于符號三角形問題

    對于符號三角形問題,符號三角形的第一行有n個符號。符號可以為“+”或“-”,以下每一行的符號由上行得到,2個同號下面都是“+”,2個異號下面都是“-”。如下圖所示(第一行有4個符號的符號三角中的其中的一個): 符號三角形問題要求對于給定的n,計算有多少個不同的符號三角形,使其所含的“+”和“-”的個數(shù)相同。 Input 輸入包含若干個測試用例。 對于每個測試用例,輸入的一行是一個整數(shù)n(2<=n<=20),表示符號三角形第一行符號的個數(shù)。當(dāng)輸入n為0時表示輸入結(jié)束。 Output 對于每個測試案例,輸出包括一行,這一行只包含一個整數(shù),就是該測試案例總共有多少不同的符號三角形,使其所含的“+”和“-”的個數(shù)相同。 Sample Input 2 3 0 Sample Output 0 4

    標(biāo)簽: 符號 三角形

    上傳時間: 2014-01-02

    上傳用戶:陽光少年2016

  • Problem F:汽車加油 Time Limit:1000MS Memory Limit:65536K Total Submit:1400 Accepted:404 Language

    Problem F:汽車加油 Time Limit:1000MS Memory Limit:65536K Total Submit:1400 Accepted:404 Language: not limited Description 一輛汽車加滿油后可行駛n公里。旅途中有若干個加油站。設(shè)計一個有效算法,指出應(yīng)在哪些加油站停靠加油,使沿途加油次數(shù)最少。 編程任務(wù): 對于給定的n和k(k <= 10000)個加油站位置,編程計算最少加油次數(shù)。 Input 第一行有2 個正整數(shù)n和k,表示汽車加滿油后可行駛n公里,且旅途中有k個加油站。接下來的1 行中,有k+1 個整數(shù),表示第k個加油站與第 k-1 個加油站之間的距離。第0 個加油站表示出發(fā)地,汽車已加滿油。第k+1 個加油站表示目的地。 Output 輸出最少加油次數(shù)。如果無法到達(dá)目的地,則輸出”No Solution”。 Sample Input 7 7 1 2 3 4 5 1 6 6 Sample Output 4

    標(biāo)簽: Limit Accepted Language Problem

    上傳時間: 2016-04-12

    上傳用戶:youth25

  • 1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a

    1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if A = 1 2 3 then B = 3 2 1 4 5 6 6 5 4 7 8 9 9 8 7 Write a main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A). 2) Write a program which accepts an input k from the keyboard, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its position in the fibonacci sequence. Here is a sample of input and Output: Enter k>0: 100 144 is the smallest fibonacci number greater than or equal to 100. It is the 12th fibonacci number.

    標(biāo)簽: dimensions arbitrary function reverse

    上傳時間: 2016-04-16

    上傳用戶:waitingfy

  • 北京大學(xué)ACM比賽題目 Write a program to read four lines of upper case (i.e., all CAPITAL LETTERS) text input

    北京大學(xué)ACM比賽題目 Write a program to read four lines of upper case (i.e., all CAPITAL LETTERS) text input (no more than 72 characters per line) from the input file and print a vertical histogram that shows how many times each letter (but not blanks, digits, or punctuation) appears in the all-upper-case input. Format your Output exactly as shown.

    標(biāo)簽: CAPITAL LETTERS program Write

    上傳時間: 2014-01-17

    上傳用戶:410805624

  • PlotSphereIntensity(azimuth, elevation) PlotSphereIntensity(azimuth, elevation, intensity) h = Plo

    PlotSphereIntensity(azimuth, elevation) PlotSphereIntensity(azimuth, elevation, intensity) h = PlotSphereIntensity(...) Plots the intensity (as color) of a number of points on a unit sphere. Input: azimuth (phi), in degrees elevation (theta), in degrees intensity (optional, if not provided, a green sphere is produced) All inputs must be vectors or matrices of the same size. Data does not have to be evenly spaced. When there aren t enough points to draw a smooth sphere, additional points (with color) are interpolated. Output: h - a handle to the patch object The axes are also plotted: positive x axis is red positive y axis is green positive z axis is blue

    標(biāo)簽: PlotSphereIntensity elevation azimuth intensity

    上傳時間: 2014-01-15

    上傳用戶:ruan2570406

  • The neuro-fuzzy software for identification and data analysis has been implemented in the MATLAB lan

    The neuro-fuzzy software for identification and data analysis has been implemented in the MATLAB language ver. 4.2. The software trains a fuzzy architecture, inspired to Takagi-Sugeno approach, on the basis of a training set of N (single) Output-(multi) input samples. The returned model has the form 1) if input1 is A11 and input 2 is A12 then Output =f1(input1,input2) 2) if input1 is A21 and input 2 is A22 then Output =f2(input1,input2) 看不懂,據(jù)高手說,非常有用。

    標(biāo)簽: identification neuro-fuzzy implemented analysis

    上傳時間: 2014-01-12

    上傳用戶:zgu489

主站蜘蛛池模板: 铅山县| 修武县| 修文县| 乃东县| 耒阳市| 海盐县| 泰宁县| 舞钢市| 调兵山市| 仁寿县| 兴城市| 莱州市| 工布江达县| 宾阳县| 太谷县| 咸阳市| 乐都县| 咸阳市| 沙坪坝区| 麻城市| 鹤峰县| 蓬安县| 许昌县| 永年县| 铜陵市| 疏附县| 双江| 安仁县| 怀化市| 宾阳县| 株洲市| 平阳县| 乐清市| 岳池县| 都匀市| 从江县| 苍山县| 游戏| 南靖县| 嘉祥县| 东乡|