字符串排序
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.
题面描述
给定长度为的字符串,字符串只有小写字母字符,老师想知道排完序后,字符串的结果.
输入格式
输入共两行,第一行一个整数 含义见题面,第二行 个字符串的字符.
输出格式
排好序的字符串
样例 #1
样例输入 #1
4
zbac
样例输出 #1
abcz
样例 #2
样例输入 #2
6
cbcbzz
样例输出 #2
bbcczz
提示
数据范围与约定
对于 的数据,满足 。
对于 的数据,满足 。
对于 的数据,满足 。
1.23竞赛B班
- Status
- Done
- Rule
- IOI
- Problem
- 7
- Start at
- 2025-1-23 13:45
- End at
- 2025-1-23 17:45
- Duration
- 4 hour(s)
- Host
- Partic.
- 10