排序算法的性能比較 對不同類型的問題規模,測試各種介紹的排序算法的性能。統計他們的鍵值比較次數,鍵值移動次數以及運行時間并分析結果。 小型問題:N≈20 中型問題:N≈2000 大型問題:N≈200000. C 語言的32關鍵字如下: 實驗原理: 線性表的排序,快速,起泡,選擇,插入。
上傳時間: 2013-12-20
上傳用戶:lingzhichao
1、 了解系統調用pipe()的功能和實際原理 2、 編寫一段程序,使用管道實現父子進程之間的通信 a) 使用系統調用fork()創建一個子進程 b) 子進程調用函數write()向父進程發送自己的進程ID和字符串” s sending a message to parent.\n”。 c) 父進程調用函數read()通過管道讀出子進程發來的消息,將消息輸出屏幕,然后終止
上傳時間: 2013-12-16
上傳用戶:古谷仁美
R+樹的c實現源碼,對應文章T. K. Sellis, N. Roussopoulos, C. Faloutsos: The R+-Tree: A Dynamic Index for Multi-Dimensional Objects.
上傳時間: 2014-05-25
上傳用戶:sunjet
7段數碼是純組合電路,通常的小規模專用IC,如74或4000系列的器件只能作十進制BCD碼譯碼,然而數字系統中的數據處理和運算都是2進制的,所以輸出表達都是16進制的,為了滿足16進制數的譯碼顯示,最方便的方法就是利用VHDL譯碼程序在FPGA或CPLD中實現。本項實驗很容易實現這一目的。例6-1作為7段BCD碼譯碼器的設計,輸出信號LED7S的7位分別接如圖6-1數碼管的7個段,高位在左,低位在右。例如當LED7S輸出為 "1101101" 時,數碼管的7個段:g、f、e、d、c、b、a分別接1、1、0、1、1、0、1,接有高電平的段發亮,于是數碼管顯示“5”。
上傳時間: 2014-01-08
上傳用戶:wff
我用matlab寫的一個corner detector, 效果比現在流行的harris,susan,CSS等效果要好。 Algorithm is derived from: X.C. He and N.H.C. Yung, Curvature Scale Space Corner Detector with Adaptive Threshold and Dynamic Region of Support , Proceedings of the 17th International Conference on Pattern Recognition, 2:791-794, August 2004. Improved algorithm has been included in A Corner Detector based on Global and Local Curvature Properties and submitted to Optical Engineering.
標簽: detector matlab corner harris
上傳時間: 2013-12-30
上傳用戶:569342831
7段數碼顯示譯碼器設計7段數碼是純組合電路,通常的小規模專用IC,如74或4000系列的器件只能作十進制BCD碼譯碼,然而數字系統中的數據處理和運算都是二進制的,所以輸出表達都是十六進制的,為了滿足十六進制數的譯碼顯示,最方便的方法就是利用譯碼程序在FPGA/CPLD中來實現。例子作為七段譯碼器,輸出信號LED7S的7位分別接數碼管的7個段,高位在左,低位在右。例如當LED7S輸出為“1101101”時,數碼管的7個段g、f、e、d、c、b、a分別接1、1、0、1、1、0、1;接有高電平的段發亮,于是數碼管顯示“5”。
上傳時間: 2014-01-26
上傳用戶:1427796291
溫度華氏轉變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf("73分=C等級!!\n") else if (a>=60) printf("73分=D等級!!\n") else if (a<60) printf("73分=E等級!!\n") } { if (b>=90) printf("b=A等級!!\n") else if (b>=80) printf("85分=B等級!!\n") else if (b>=70) printf("85分=C等級!!\n") else if (b>=60) printf("85分=D等級!!\n") else if (b<60) printf("85分=E等級!!\n") } { if (c>=90) printf("c=A等級!!\n") else if (c>=80) printf("66分=B等級!!\n") else if (c>=70) printf("66分=C等級!!\n") else if (c>=60) printf("66分=D等級!!\n") else if (c<60) printf("66分=E等級!!\n") } system("pause") return 0 }
上傳時間: 2014-11-10
上傳用戶:wpwpwlxwlx
溫度華氏轉變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf("73分=C等級!!\n") else if (a>=60) printf("73分=D等級!!\n") else if (a<60) printf("73分=E等級!!\n") } { if (b>=90) printf("b=A等級!!\n") else if (b>=80) printf("85分=B等級!!\n") else if (b>=70) printf("85分=C等級!!\n") else if (b>=60) printf("85分=D等級!!\n") else if (b<60) printf("85分=E等級!!\n") } { if (c>=90) printf("c=A等級!!\n") else if (c>=80) printf("66分=B等級!!\n") else if (c>=70) printf("66分=C等級!!\n") else if (c>=60) printf("66分=D等級!!\n") else if (c<60) printf("66分=E等級!!\n") } system("pause") return 0 }
上傳時間: 2013-12-12
上傳用戶:亞亞娟娟123
找一個最小的自然數,使它等于不同的兩組三個自然數的三次冪之和,即找最小的x,使得:x=a*a*a+b*b*b+c*c*c = d*d*d+e*e*e+f*f*f 其中,a,b,c,d,e,f都是自然數,a<=b<=c, d<=e<=f [a,b,c]!=[d,e,f] 進一步,是否還存在另外一個自然數滿足上述條件,可能的話請輸出其結果
標簽:
上傳時間: 2017-05-16
上傳用戶:vodssv
RSA ( Rivest Shamir Adleman )is crypthograph system that used to give a secret information and digital signature . Its security based on Integer Factorization Problem (IFP). RSA uses an asymetric key. RSA was created by Rivest, Shamir, and Adleman in 1977. Every user have a pair of key, public key and private key. Public key (e) . You may choose any number for e with these requirements, 1< e <Æ (n), where Æ (n)= (p-1) (q-1) ( p and q are first-rate), gcd (e,Æ (n))=1 (gcd= greatest common divisor). Private key (d). d=(1/e) mod(Æ (n)) Encyption (C) . C=Mª mod(n), a = e (public key), n=pq Descryption (D) . D=C° mod(n), o = d (private key
標簽: crypthograph information Adleman Rivest
上傳時間: 2017-09-01
上傳用戶:chfanjiang