终于AK了一回 第三题代码 import java.util.*; public class Main { public static int n; public static int[] pre; public static int[] total = new int[3]; public static List<Integer>[] tree; public static Map<Integer, int[]>[] cntMap; public static String s; ...