Type: Default 1000ms 128MiB

选字符排序(1)

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

输入n个字符,把小写字母的字符按照字典序输出。(字典序:从 a---z的顺序)。0<n<100.

输入格式

两行。第一行,一个数字n,表示有n个字符。第二行,n个字符。

输出格式

全部小写字母,并按字典序排列。每两个之间用空格隔开。
15
+ A B 0 = P k y t a 1 9 ? b c
a b c k t y

来源

字符串

字符和字符串

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
12
Start at
2025-12-16 14:30
End at
2025-12-24 22:30
Duration
200 hour(s)
Host
Partic.
39