摘要: import java.util.ArrayList; public class Main { public static void main(String[] args) { Integer[] nums = new Integer[]{3, 5, 2, 8, 4}; // 差异值 》异或运算 ^ 阅读全文
posted @ 2023-08-13 20:42 手握钢叉的猹 阅读(8) 评论(0) 推荐(0) 编辑
摘要: import java.util.Arrays; import java.util.Objects; import java.util.stream.Collectors; public class Main { public static void main(String[] args) { In 阅读全文
posted @ 2023-08-13 20:26 手握钢叉的猹 阅读(24) 评论(0) 推荐(0) 编辑
摘要: import java.util.ArrayList; import java.util.TreeMap; import java.util.stream.IntStream; public class Main { public static void main(String[] args) { 阅读全文
posted @ 2023-08-13 20:10 手握钢叉的猹 阅读(15) 评论(0) 推荐(0) 编辑
摘要: import java.util.Comparator; import java.util.HashSet; import java.util.stream.IntStream; public class Main { public static void main(String[] args) { 阅读全文
posted @ 2023-08-13 01:56 手握钢叉的猹 阅读(50) 评论(0) 推荐(0) 编辑
摘要: import java.util.*; import java.util.stream.Collectors; import java.util.stream.IntStream; public class Main { public static void main(String[] args) 阅读全文
posted @ 2023-08-13 01:23 手握钢叉的猹 阅读(64) 评论(0) 推荐(0) 编辑