#include
#include
#include <string.h>
using namespace std;
int main(){
char a[3];
int x;
while(cin>>a){
x=strlen(a);
sort(a, a+x);
for (int i=0; i<x-1; i++) {
printf("%c “,a[i]);
}
printf(”%c\n",a[x-1]);
}
return 0;
}
hdoj 2000
最新推荐文章于 2021-03-31 17:33:18 发布