网名 • 3天前
using namespace std;
int main() {
string s; cin >> s; string t; for (char c : s) if ((int)c % 3 != 0) t += c; sort(t.begin(), t.end()); cout << t; return 0;
}
评论:
请先登录,才能进行评论