import java.util.Arrays;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in =
new Scanner (System.in);
String[] a=
new String[10
];
for(
int i=0;i<10;i++
)
a[i]=
in.next();
Arrays.sort(a,Collections.reverseOrder());
for(String m:a) {
System.out.println(m);
}
}
}
转载于:https://www.cnblogs.com/Weixu-Liu/p/9165538.html
转载请注明原文地址: https://mac.8miu.com/read-3317.html