题解 | #图片整理#
图片整理
https://www.nowcoder.com/practice/2de4127fda5e46858aa85d254af43941
#include <iostream>
using namespace std;
#include <string>
#include <algorithm>
int main() {
string str;
getline(cin,str);
sort(str.begin(),str.end());
cout << str << endl;
}
// 64 位输出请用 printf("%lld")
标准算法库的sort
华为机试刷题记录 文章被收录于专栏
记录一下手打代码的解题思路方便复习
京东公司氛围 301人发布