123Y456 • 3天前
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;
}
评论:
请先登录,才能进行评论