竞赛
考级
思路:由于没有给出字符串的长度,所以我们用string输入,然后sort排即可。注意sort要这样写:sort(a.begin(),a.end()); 代码:
sort排序:sort(s.begin(),s.end())
提交答案之后,这里将显示提交结果~