//解释看代码 import java.util.ArrayList; import java.util.Comparator; import java.util.List; import java.util.Scanner; import java.util.stream.Collectors; public class Main { static List<List<Integer>> allList; private static void process(int appleNum, int plateNum, int allocated, ...