牛客网题目链接
#include <iostream>
#include <vector>
#include <string>
#include <cmath>
#include <algorithm>
#include <queue>
#include <cstdio>
#include <cctype>
#include <unordered_map>
#include <map>
using namespace std
;
const int N
= 105;
typedef pair
<int, string
> PII
;
int main() {
string str
;
while(cin
>>str
){
sort(str
.begin(), str
.end());
cout
<<str
<<endl
;
}
return 0;
}
转载请注明原文地址: https://mac.8miu.com/read-77147.html