小鱼吐泡泡
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.
题目
给定 个字符,请使用冒泡排序,按照字典序从小到大排序。 不可使用sort函数。 第一行一个整数 ,表示字符数量。 第二行 个字符,以空格隔开。 输出排序后的字符,字符之间用空格隔开。
Samples
3
a c b
a b c
第十届西南石油大学程序设计新生赛(验题)
- Status
- Done
- Rule
- XCPC
- Problem
- 17
- Start at
- 2026-10-14 16:00
- End at
- 2026-10-27 4:00
- Duration
- 300 hour(s)
- Host
- Partic.
- 10