原创 c#實現插入排序
static public void insertionSort(int[] a) { int temp;
原创 用java實現了歸一化積相關的計算
用java實現了歸一化積相關的計算,主要源碼如下: static public void guiyihua(Pic s_p,Pic t_p){ //s_p爲源圖像,t_p爲實時圖像 ints_heigh
原创 c# 實現二進制加法
//兩個任意位數的二進制整數加起來的問題,兩個整數分別存儲在兩個數組中 static public int[] add_2(ref i
原创 theme.info文件註釋
name = A fantasy name //模板名稱是必須的,這是用戶可讀的名字,與主題的Drupal內部名字可以分開單獨進行設置。這在這裏,字符的限制則很少。 description = Tableless multi-column
原创 poj 1050 to the max
To the Max Time Limit: 1000MS Memory Limit: 10000K Description Given a two-dimensional array of positive
原创 python實現蓄水池抽樣問題
</pre><pre name="code" class="python">import random filename='d:/test.txt'//要抽樣的文件 f=open(filename,'r') sampleNum=1000