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

PROGRAMMING:Sort 3 strings

Luz5年前 (2021-05-10)题库413
Input the names of three students, and output the list of students in ascending order.
###Input format:
Enter the names of three students on three lines. Do not include spaces, newlines, and tabs in the string
###Output format:
Output the result according to "output sample", where 1, 2 and 3 are integers output as is.
###Input example:
```in
zhangdan
lili
wangming
```
###Output example:
```out
1:lili
2:wangming
3:zhangdan
```






answer:If there is no answer, please comment