package com.patience.interview.huawei;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
/**
* ASCLL 排序
* @author Green.Gee
* @date 2022/9/9 13:14
* @email green.gee.lu@gmail.com
*/
public class HandlePictureOfWords {
public static void main(String[] args) throws IOException {
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
String str = bf.readLine();
char [] sort = str.toCharArray();
Arrays.sort(sort);
for(char c : sort){
System.out.print(c);
}
}
}
字符串ASCLL排序 Java
最新推荐文章于 2024-07-26 03:34:16 发布