Start: Mar, 15, 2018 12:00:00
2017-2018学年第一学期 程序设计基础(C语言) 补考
End: Mar, 15, 2018 13:59:00
Time elapsed:
Time remaining:

Problem_ID: A
Result: Accepted
Time: 5ms
Memory: 1092kB
Author: 2017212402003
In contest: 1144

#include <stdio.h>
int main()
{
    int a,b,c,t;
    scanf("%d%d%d",&a,&b,&c);
    if(a>b) {t=a;a=b;b=t;}
    if(a>c) {t=a;a=c;c=t;}
    if(b>c) {t=b;b=c;c=t;}
     
    printf("%d %d %d\n",a,b,c);
    return 0;
}