摘要:
二分法查找 前提:所要查找的数组必须有序 public class Dichotomy { public static void main(String[] args) { int[] array = new int[]{-78,-64,-53,-43,-31,-10,-5,0,20,40,62,7 阅读全文
posted @ 2021-06-11 21:15
ekertree
阅读(55)
评论(0)
推荐(0)
摘要:
回形数 键盘读入一个整数n(1-20),以n为矩阵大小,把1,2,3,4,5…按顺时针螺旋的形式填入。 import java.util.Scanner; public class HuiXingShu { public static void main(String[] args) { Syste 阅读全文
posted @ 2021-06-11 17:24
ekertree
阅读(518)
评论(0)
推荐(0)

浙公网安备 33010602011771号