void insert_sort(int *a,int n) { if(n==1) return insert_sort(a,n-1) int temp=a[n-1] for(int i=n-2 i>=0 i--) { if(temp<a[i]) a[i+1]=a[i] else break } a[i+1]=temp }
資源簡介:void insert_sort(int *a,int n) { if(n==1) return insert_sort(a,n-1) int temp=a[n-1] for(int i=n-2 i>=0 i--) { if(temp<a[i]) a[i+1]=a[i] else break } a[i+1]=temp }
上傳時間: 2014-01-22
上傳用戶:banyou
資源簡介:1.功能 用全選主元高斯消去法計算n階方陣A所對應的行列式的值(C語言) 2.參數說明 double a[n][n] : 存方陣A的元素,返回時被破壞 int n : 方陣A的階數 double sdet() : 函數返回行列式的值 3.文件說明 sdet.c為函數程序 sdet0.c為主函數程序
上傳時間: 2014-01-14
上傳用戶:rocwangdp
資源簡介:顯示ARP緩存信息.A R P高效運行的關鍵是由于每個主機上都有一個A R P高速緩存。這個高速緩存存放了最 近I n t e r n e t地址到硬件地址之間的映射記錄。高速緩存中每一項的生存時間一般為2 0分鐘,起 始時間從被創建時開始算起。
上傳時間: 2013-12-27
上傳用戶:siguazgb
資源簡介:12位 D/A DAC1230轉換子函數 子函數名:da_zh(int a) 參考電壓:5.000v
上傳時間: 2014-01-11
上傳用戶:dapangxie
資源簡介:%調用格式 =trapez_g( f_name ,a,b,n) %f_name: 被積函數的文件名f(x) % a:x的上限 % b:x的下限 % 部分區間數 %實例:trapez_g( sin ,0,pi,20)
上傳時間: 2013-12-19
上傳用戶:cjl42111
資源簡介:兩臺處理機A 和B處理n個作業。設第i個作業交給機器 A 處理時需要時間ai,若由機器B 來處理,則需要時間bi。由于各作 業的特點和機器的性能關系,很可能對于某些i,有ai >=bi,而對于 某些j,j!=i,有aj<bj。既不能將一個作業分開由兩臺機器處理,也沒 有...
上傳時間: 2014-01-14
上傳用戶:獨孤求源
資源簡介:int getDivisor(int iNum) { int i = 1 int sum = 0 if (0 == iNum) { return 1 } while (i <= iNum / 2) { if (0 == iNum % i) { sum++ } i++ } return (sum+1) }
上傳時間: 2013-12-17
上傳用戶:frank1234
資源簡介:奇數N 階魔方陣問題: 奇數N 階魔方陣的構造規則如下: 1、在第一行的正中間填入1; 2、如果左上角能夠移動,則往左上角填入后繼的數;如果左上角不 能移動,則順移到該列最下方左邊的一列中最靠近該列的位置; 3、如果左上角不能移動,同時在該列位置的最下...
上傳時間: 2015-02-14
上傳用戶:lyy1234
資源簡介:使用的是API編程,可格式化、校驗和讀寫特殊扇區。可用作Windows下的磁盤加密。本函數還有以下兩個缺點以待改進: 1.本函數還只能讀能讀 A: 和 B:,即只能對軟盤操作 2.不能改變磁盤扇區大小,只能是標準的 512 個字節。 參數說明: command 操作: 0 重置磁盤 2 ...
上傳時間: 2013-12-05
上傳用戶:moerwang
資源簡介:Tt s a good book ,if you want to learn java good
上傳時間: 2013-12-10
上傳用戶:qwe1234
資源簡介:排列問題 M個1,N個0的排列(高效率版) 排列數為:c(m+n,n) 對n個0,m個1,我的想法是這樣的: 每個排列可以分三段: 全0列,全1列, 子問題列 設各段長:r,s,t .子問題列就是 (n,m) = (n-r,m-s),其中0<=r<=n,s=1
上傳時間: 2015-11-11
上傳用戶:1051290259
資源簡介:有m¥n(m£100,n£100)個金幣在桌面上排成一個m行n列的金幣陣列。每一枚金 幣或正面朝上或背面朝上。用數字表示金幣狀態,0表示金幣正面朝上,1 表示背面朝上。 金幣陣列游戲的規則是: (1)每次可將任一行金幣翻過來放在原來的位置上; (2)每次可...
上傳時間: 2015-12-13
上傳用戶:chenxichenyue
資源簡介:this document is about probabilistic database techniques and applications it is a good tutorial if you are interested in this area
上傳時間: 2013-12-29
上傳用戶:ddddddos
資源簡介:計算n階Guass節點值及其對應的權重值。 輸入n,輸出bp,wf分別為Guass節點值和對應的權重
上傳時間: 2016-04-07
上傳用戶:bjgaofei
資源簡介:Ch03 Ex16 [Ch03 Ex16] 假設如題3.1所述火車調度站的入口處有n節硬席或軟席車廂(分別以H和S表示) 等待調度,試編寫算法,輸出對這n節車廂進行調度的操作(即入棧或出棧操作)序列,以使用 所有的軟席車廂都被調整到硬席車廂之前。 串。
上傳時間: 2016-06-20
上傳用戶:fredguo
資源簡介:cskmeans 聚類算法的一種 1. 分裂法(partitioning methods):給定一個有N個元組或者紀錄的數據集,分裂法將構造K個分組,每一個分組就代表一個聚類,K<N。而且這K個分組滿足下列條件:(1) 每一個分組至少包含一個數據紀錄;(2)每一個數據紀錄屬于且僅...
上傳時間: 2014-01-16
上傳用戶:songyue1991
資源簡介:n*n的方磚最小要幾塊邊長小于n的方磚才能鋪滿,用動態規劃的角度解決此問題
上傳時間: 2014-01-14
上傳用戶:zhaoq123
資源簡介:N階乘的 運算。可實現 50一下數字的 N階乘運算 。
上傳時間: 2013-12-12
上傳用戶:003030
資源簡介:1. 下列說法正確的是 ( ) A. Java語言不區分大小寫 B. Java程序以類為基本單位 C. JVM為Java虛擬機JVM的英文縮寫 D. 運行Java程序需要先安裝JDK 2. 下列說法中錯誤的是 ( ) A. Java語言是編譯執行的 B. Java中使用了多進程技術 C. Java的單...
上傳時間: 2017-01-04
上傳用戶:netwolf
資源簡介:設∑={α1, α2…… αn }是n個互不相同的符號組成的符號集。 Lk={β1β2…βk | βiЄ ∑,1≤i≤k}是∑中字符組成的長度為k 的全體字符串。 S是Lk的子集,S是Lk的無分隔符字典是指對任意的S中元素a1a2…ak, b1b2…bk. {a2a3…akb1, a3a4…akb1b2,...
上傳時間: 2013-12-26
上傳用戶:waitingfy
資源簡介:hư ớ ng dẫ n về dsp tham khả o các cô ng cụ cơ bả n
上傳時間: 2014-12-01
上傳用戶:zhichenglu
資源簡介:Program to plot x(t) =1/2+∑_(n=1)^∞▒ (sinc⁡ 〖n/2〗 〖 cos 〗⁡ 〖2πnt/4〗 ) Include n-value (Number of Terms) in graph on plot. Show 2 graphs, original and simulated together.
上傳時間: 2014-01-03
上傳用戶:tb_6877751
資源簡介:Machine learning is a broad and fascinating field. Even today, machine learning technology runs a substantial part of your life, often without you knowing it. Any plausible approach to artifi- cial intelligence must involve learning, at som...
上傳時間: 2020-06-10
上傳用戶:shancjb
資源簡介:MfcCDDB v1.11 A freeware MFC class to support access to CDDB servers Welcome to MfcCDDB, a collection of freeware MFC classes to support access to the Compact Disc DataBases on the internet .
上傳時間: 2015-03-13
上傳用戶:mikesering
資源簡介:TOYFDTD1 is a stripped-down minimalist, 3D FDTD code demonstrating the basic tasks in implementing a simple 3D FDTD simulation. An idealized rectangular waveguide is modeled by treating the interior of the mesh as free space and enforcing P...
上傳時間: 2013-12-21
上傳用戶:無聊來刷下
資源簡介:股票交易模擬器 A Stock Exchange simulator to show timers and randon number generators work together. A cool simulation for anyone who might think about playing the stocks and spending money and get a general idea how the system works.
上傳時間: 2015-04-13
上傳用戶:愛死愛死
資源簡介:This book is a streaming medium pratical book, which give us how to build and implement a complete streaming system
上傳時間: 2015-07-21
上傳用戶:wfeel
資源簡介:C in a Nutshell is the perfect companion to K&R, and destined to be the most reached-for reference on your desk.
上傳時間: 2015-07-26
上傳用戶:kr770906
資源簡介:Following is a repost of the public domain make that I posted to net.sources a couple of months ago. I have fixed a few bugs, and added some more features, and the resulting changes amounted to about as much text as the whole program (he...
上傳時間: 2015-09-01
上傳用戶:manlian
資源簡介:This a collection of sample processes that provide examples ranging from how to use a particular BPEL activity such as pick or scope, to more complex examples of processes that invoke external Web services or show techniques such as hand...
上傳時間: 2013-12-26
上傳用戶:sunjet