#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int cmp(const void *a,const void *b)
{
    return *(char *)a-*(char *)b;
}
int main()
{
    char a[3];
    while(scanf("%s",a)!=EOF)
    {
        qsort(a,3,sizeof(a[0]),cmp);   
        printf("%c %c %c\n",a[0],a[1],a[2]);                      
    }
    //system("pause");
    return 0;
}

相关文章:

  • 2021-06-01
  • 2021-07-23
  • 2021-10-24
  • 2021-04-11
  • 2021-04-06
  • 2021-04-17
  • 2021-11-16
  • 2021-08-08
猜你喜欢
  • 2021-12-29
  • 2022-12-23
  • 2021-08-04
  • 2021-08-16
  • 2021-04-16
  • 2021-04-26
  • 2021-06-26
相关资源
相似解决方案