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