摘要: public class Test02 { public static void main(String[] args) { String[] launchList ={ "米线","盖饭","面","麻辣烫","饺子","汉堡" }; //[0.0-1.0] int r=(int) (Math.r 阅读全文
posted @ 2021-10-19 10:30 HelelLucifer 阅读(96) 评论(0) 推荐(0)
摘要: public class Test01 { public static void main(String[] args) { System.out.println(square(10)); System.out.println(square2(10)); }​ //开放 //穷举法 static d 阅读全文
posted @ 2021-10-19 09:58 HelelLucifer 阅读(205) 评论(0) 推荐(0)
摘要: blic static void main(String[] args) { int[]arr={2,3,4,5,6,7,8,9,1}; insertionSort(arr); System.out.println(Arrays.toString(arr)); }//插入排序 static void 阅读全文
posted @ 2021-10-19 09:37 HelelLucifer 阅读(32) 评论(0) 推荐(0)