AC 123Y456 · 发布于 2025-10-19 · 浏览 315 回复 0 include <bits/stdc++.h> include using namespace std; int main() { string s, t; cin >> s; for(char c : s){ if((int) c % 3 != 0){ t += c; } } sort(t.begin(), t.end()); cout << t; return 0; }