void solve() {
vector<char*> alpha;
string line;
getline(cin, line);
for (auto &e : line)
if (isalpha(e))
alpha.push_back(&e);
for (int i = 0; i < alpha.size(); i++)
for (int j = i+1; j < alpha.size(); j++)
if (*alpha[i] > *alpha[j])
swap(*alpha[i], *alpha[j]);
cout << line << endl;
}
粘窜行了