斗地主
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.
Problem Description
Drb是斗地主新手,甚至理牌对他都是件难事,所以他找到了你。
Drb把牌给你看,共用 张牌。对于每张牌,都在 A - Z的范围里。你需要按照字典序从小到大整理好,再还给Drb。
Input Format
第一行给你一个 。 第二行给出一个长度为 的字符串。
Output Format
一行长度为 的整理后的字符串。
Sample
输入样例
6
DRBWFZ
输出样例
BDFRWZ
Hint
重庆邮电大学第二十一届ACM程序设计大赛(团体赛)
- Status
- Done
- Rule
- XCPC
- Problem
- 10
- Start at
- 2026-4-26 13:00
- End at
- 2026-4-26 19:00
- Duration
- 6 hour(s)
- Host
- Partic.
- 10