锘??xml version="1.0" encoding="utf-8" standalone="yes"?>不卡视频在线看,污视频网站在线免费观看,欧洲毛片在线视频免费观看http://www.aygfsteel.com/rockblue1988/category/53277.html濂藉ソ瀛︿範錛屽ぉ澶╁悜涓?/description>zh-cnSat, 27 Sep 2014 19:05:42 GMTSat, 27 Sep 2014 19:05:42 GMT60- 綆楁硶瀵艱絎?绔狅細綆楁硶鍏ラ棬--鎻掑叆鎺掑簭http://www.aygfsteel.com/rockblue1988/archive/2014/02/18/410007.htmlJimiJimiTue, 18 Feb 2014 15:23:00 GMThttp://www.aygfsteel.com/rockblue1988/archive/2014/02/18/410007.htmlhttp://www.aygfsteel.com/rockblue1988/comments/410007.htmlhttp://www.aygfsteel.com/rockblue1988/archive/2014/02/18/410007.html#Feedback0http://www.aygfsteel.com/rockblue1988/comments/commentRss/410007.htmlhttp://www.aygfsteel.com/rockblue1988/services/trackbacks/410007.htmlpublic class InsertionSortAlgorithmTest {
public static String arrayToString(int[] array){
StringBuilder sb = new StringBuilder();
for(int a:array){
sb.append(a).append(" ");
}
return sb.toString();
}
public static int[] insertionSort(int[] array){
int key;
int j;
for (int i = 1; i < array.length; i++) {
key = array[i];
j = i - 1;
while (j >= 0 && array[j] > key) {
array[j + 1] = array[j];
j = j - 1;
}
array[j + 1] = key;
System.out.println(arrayToString(array));
}
return array;
}
public static void main(String[] args) {
int[] array = {2, 3, 1, 7, 5, 9, 4, 6, 8};
insertionSort(array);
}
}
]]> - 鏂愭嘗閭e鏁板垪http://www.aygfsteel.com/rockblue1988/archive/2013/01/25/394738.htmlJimiJimiFri, 25 Jan 2013 03:15:00 GMThttp://www.aygfsteel.com/rockblue1988/archive/2013/01/25/394738.htmlhttp://www.aygfsteel.com/rockblue1988/comments/394738.htmlhttp://www.aygfsteel.com/rockblue1988/archive/2013/01/25/394738.html#Feedback0http://www.aygfsteel.com/rockblue1988/comments/commentRss/394738.htmlhttp://www.aygfsteel.com/rockblue1988/services/trackbacks/394738.htmlimport java.util.ArrayList;
import java.util.Calendar;
public class CAL {
public static void main(String[] args) {
// TODO Auto-generated method stub
Calendar start = Calendar.getInstance();
System.out.println(start.getTimeInMillis());
ArrayList<Integer> number = new ArrayList<Integer>();
number.add(1);number.add(1);
for (int i = 2; i <= 100000; i++) {
number.add(number.get(i - 1) + number.get(i - 2));
}
Calendar end = Calendar.getInstance();
System.out.println(end.getTimeInMillis());
System.out.println("鏃墮棿錛? + (end.getTimeInMillis()-start.getTimeInMillis() ));
System.out.println("last:"+number.get(100000));
}
}
]]>
主站蜘蛛池模板:
柳河县|
延津县|
崇左市|
尤溪县|
乳源|
调兵山市|
集安市|
汝阳县|
淮阳县|
新乡县|
蓬溪县|
庆安县|
元江|
什邡市|
河源市|
新河县|
波密县|
逊克县|
定边县|
绥棱县|
宁远县|
邮箱|
鹤峰县|
泾川县|
福清市|
青川县|
德阳市|
叙永县|
酒泉市|
中西区|
海淀区|
原平市|
句容市|
金门县|
望城县|
秭归县|
郓城县|
营口市|
滦平县|
得荣县|
曲靖市|