ans

LS_fengchixuan 2023-12-23 18:45:17 3 返回题目

#include <bits/stdc++.h> using namespace std; char st[25]; int len; int main() { gets(st); len=strlen(st); for(int i=0; i<=len; i++) { f[st[i]]++; } for(int i=1; i<=127; i++) { if(f[i]>0) { for(int j=1; j<=f[i]; j++) { printf("%c",i); } } } return 0; }

{{ vote && vote.total.up }}