sort

博约8486  •  5天前


include<bits/stdc++.h>

using namespace std; int main(){

string s;
getline(cin , s);
string res;
for(int i = 0; i < s.length(); i++){
	if(s[i] % 3 == 0) continue;
	res = res + s[i];
}
sort(res.begin(), res.end());
cout << res;

}


评论:

请先登录,才能进行评论