-->
当前位置:首页 > 题库

PROGRAMMING:ASCII sort

Luz5年前 (2021-05-10)题库399
###Task description
After inputting three characters (which can be repeated), output the three characters in the order of ASCII code from small to large.
###Input format:
Enter a number N in the first line to indicate that there are n groups of test data. The following N lines input multiple groups of data, each group of input data is a line, there are three characters, no space between.
###Output format:
For each group of input data, output a line, separated by a space in the middle of the characters.
###Input example:
```in
two
qwe
asd
```
###Output example:
```out
e q w
a d s
```
###Title Source
Note: this topic is selected from nyoj website http://nyoj.top/problem/4







answer:If there is no answer, please comment