#include <iostream>
#include <algorithm>
using namespace std;
int main() {
string str;
while (cin >> str) { // 注意 while 处理多个 case
//排序
sort(str.begin(),str.end());
//输出
cout << str << endl;
return 0;
}
}
// 64 位输出请用 printf("%lld")
sort的使用



京公网安备 11010502036488号