摘要:
import java.util.Arrays;public class Main { public static void main(String []args) { int []a={3,1,6,0,-8,6,3,5,9,4}; ChaRu(a); System.out.println(Arra 阅读全文
摘要:
import java.util.Arrays;public class Main { public static void main(String []args) { int []a={3,1,6,0,-8,6,3,5,9,4}; XuanZe(a); System.out.println(Arr 阅读全文
摘要:
import java.util.Arrays;public class Main { public static void main(String []args) { int []a={3,1,6,0,-8,6,3,5,9,4}; MaoPao(a); System.out.println(Arr 阅读全文
摘要:
import java.util.Arrays;public class Main { public static void main(String[] args) { int []arr1={-1,-1,-4,1,3,2,2,4,5,6,5,9,7,9,0}; int []arr2={-1,2,0 阅读全文
摘要:
当我需要10个ArrayList<Integer> for(int i=0;i<10;i++) { A.add(new ArrayList<>()); } 阅读全文
摘要:
public class Main { public static void main(String[] args) { int[] nums = {2,4,6,2,3,4,6,7,8,9,0,1}; int []num1=new int[12]; for (int i = 0; i < num1. 阅读全文
摘要:
import java.util.Arrays;public class Main { public static void main(String[] args) { int[] nums = {-1, -1, -1, 2, 2, 2, 3, 3, 3, 5, 6, 7, 8, 0, 0}; Sy 阅读全文
摘要:
用到了桶排序,0-9共计10个桶,从各位开始每位数比较 import java.util.ArrayList;public class Main { public static void main(String[] args) { String[] a = new String[10]; a[0] 阅读全文