摘要: CD79 一种消息接收并打印的结构设计 public class CD79_1 { public static class Node { public int num; public Node next; public Node(int num) { this.num = num; } } publ 阅读全文
posted @ 2023-11-26 21:05 Vivid-BinGo 阅读(19) 评论(0) 推荐(0) 编辑
摘要: CD66 并查集的实现 public class CD66_1 { public static class Solution { int[] f; public Solution(int n) { f = new int[n]; Arrays.fill(f, -1); } private int f 阅读全文
posted @ 2023-11-26 12:37 Vivid-BinGo 阅读(15) 评论(0) 推荐(0) 编辑