标签:scan practise ISE span rgs main ann string div
1.
import java.util.Arrays; import java.util.Scanner; public class arrays { public static void main(String[] args){ Scanner sc=new Scanner(System.in); String str=sc.next(); char[] charArray=str.toCharArray(); Arrays.sort(charArray); for(int i=charArray.length-1;i>=0;i--){ System.out.print(charArray[i]+"\t"); } } }
标签:scan practise ISE span rgs main ann string div
原文地址:https://www.cnblogs.com/resort-033/p/13027069.html