PAT 甲级1028 (Java实现)
代码如下:package patA;import java.util.ArrayList;import java.util.Collections;import java.util.Comparator;import java.util.Scanner;public class A1028 { public static void main(String[] args) {...